Skip to content
Browse files

Include markup for marking pubdate and author.

  • Loading branch information...
1 parent b60c1ba commit f1fc0fd21bca3651f96a8b5e1fb0bc91a29e9029 @badboy committed
Showing with 12 additions and 2 deletions.
  1. +6 −1 _includes/single_page.html
  2. +6 −1 _layouts/post.html
View
7 _includes/single_page.html
@@ -3,7 +3,12 @@ <h2 class="heading">
<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}}
View
7 _layouts/post.html
@@ -6,7 +6,12 @@ <h2 class="heading">
<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}}

0 comments on commit f1fc0fd

Please sign in to comment.
Something went wrong with that request. Please try again.