layout | title | date | author |
---|---|---|---|
post |
My New Post |
2014-01-16 23:05 |
david |
This is my great post with the correct poster.
layout | title | date | author |
---|---|---|---|
post |
My New Post |
2014-01-16 23:05 |
david |
This is my great post with the correct poster.
--- | |
layout: main | |
--- | |
<article class="post"> | |
{% assign post=page %} | |
<header> | |
<h2> | |
{% if post.date %}<span class="meta"> | |
<time datetime="{{ post.date | date_to_xmlschema }}" pubdate="" data-updated="true" title="{{ post.date | date_to_string }}">{{ post.date | date_to_string }}</time> | |
</span>{% endif%} | |
<a href="{{ post.url }}" class="title">{{ post.title }}</a> | |
</h2> | |
{% if post.author %}<p>By {{ site.data.author[post.author]['name'] }} / {{ site.data.author.david.name }} / {{ site.data.author[post.author].name }}</p>{% endif %} | |
</header> | |
<article> | |
{{ content }} | |
</article> | |
</article> |