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>
|
<a href="{{post.url}}">{{post.title}}</a>
|
||||||
</h2>
|
</h2>
|
||||||
{% if post.date %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{{post.content}}
|
{{post.content}}
|
||||||
|
|
|
@ -6,7 +6,12 @@ layout: default
|
||||||
<a href="{{page.url}}">{{page.title}}</a>
|
<a href="{{page.url}}">{{page.title}}</a>
|
||||||
</h2>
|
</h2>
|
||||||
{% if page.date %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{{content}}
|
{{content}}
|
||||||
|
|
Loading…
Reference in a new issue