Update layouts
[blog] / _layouts / post.html
index ec63afc10d770bfaf47daee2c3d2231ce39c8c05..c027477605b3b1ddaafaa876cc5efbea8044ef55 100644 (file)
@@ -2,14 +2,13 @@
 layout: default
 ---
 
-<article class="post">
+<div class="post">
   <h1 class="post-title">{{ page.title }}</h1>
-  <time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
+  <span class="post-date">{{ page.date | date_to_string }}</span>
   {{ content }}
-</article>
+</div>
 
-{% if site.related_posts != empty %}
-<aside class="related">
+<div class="related">
   <h2>Related Posts</h2>
   <ul class="related-posts">
     {% for post in site.related_posts limit:3 %}
@@ -17,11 +16,10 @@ layout: default
         <h3>
           <a href="{{ site.baseurl }}{{ post.url }}">
             {{ post.title }}
-            <small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
+            <small>{{ post.date | date_to_string }}</small>
           </a>
         </h3>
       </li>
     {% endfor %}
   </ul>
-</aside>
-{% endif %}
+</div>