Include markup for marking pubdate and author.
Via http://mislav.uniqpath.com/2012/08/authorship/
This commit is contained in:
parent
b60c1ba94f
commit
f1fc0fd21b
|
@ -3,7 +3,12 @@
|
|||
<a href="{{post.url}}">{{post.title}}</a>
|
||||
</h2>
|
||||
{% if post.date %}
|
||||
<p class="date">{{post.date | date_to_string}} (by Jan-Erik)</p>
|
||||
<p class="date">
|
||||
<time pubdate class=published datetime="{{post.date}}">
|
||||
{{post.date | date_to_string}}
|
||||
</time>
|
||||
(by <span rel=author>Jan-Erik</span>)
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{post.content}}
|
||||
|
|
|
@ -6,7 +6,12 @@ layout: default
|
|||
<a href="{{page.url}}">{{page.title}}</a>
|
||||
</h2>
|
||||
{% if page.date %}
|
||||
<p class="date">{{page.date | date_to_string}} (by Jan-Erik)</p>
|
||||
<p class="date">
|
||||
<time pubdate class=published datetime="{{page.date}}">
|
||||
{{page.date | date_to_string}}
|
||||
</time>
|
||||
(by <span rel=author>Jan-Erik</span>)
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{content}}
|
||||
|
|
Loading…
Reference in a new issue