]> git.bitcoin.ninja Git - blog/commitdiff
Use <article> and <aside>
authorChris Barrick <cbarrick1@gmail.com>
Fri, 8 Aug 2014 06:42:36 +0000 (02:42 -0400)
committerChris Barrick <cbarrick1@gmail.com>
Thu, 21 Aug 2014 04:37:37 +0000 (00:37 -0400)
_layouts/page.html
_layouts/post.html
index.html

index 4e0d4ebf09ee2756cfc8c0087e0a3d73be00cc2f..960f76780ca93aae8a2943ab9ba51aa5d31dd29c 100644 (file)
@@ -2,7 +2,7 @@
 layout: default
 ---
 
-<div class="page">
+<article class="page">
   <h1 class="page-title">{{ page.title }}</h1>
   {{ content }}
-</div>
+</article>
index c027477605b3b1ddaafaa876cc5efbea8044ef55..bcf449df2ef724f720df1da7c5a7afecb0a50dfd 100644 (file)
@@ -2,13 +2,13 @@
 layout: default
 ---
 
-<div class="post">
+<article class="post">
   <h1 class="post-title">{{ page.title }}</h1>
   <span class="post-date">{{ page.date | date_to_string }}</span>
   {{ content }}
-</div>
+</article>
 
-<div class="related">
+<aside class="related">
   <h2>Related Posts</h2>
   <ul class="related-posts">
     {% for post in site.related_posts limit:3 %}
@@ -22,4 +22,4 @@ layout: default
       </li>
     {% endfor %}
   </ul>
-</div>
+</aside>
index edbc6b1ff9da7e18c5a14341956ca515537f8cea..a59be77043c9775703422eb3b9bb7c08eb73e587 100644 (file)
@@ -5,7 +5,7 @@ title: Home
 
 <div class="posts">
   {% for post in paginator.posts %}
-  <div class="post">
+  <article class="post">
     <h1 class="post-title">
       <a href="{{ post.url }}">
         {{ post.title }}
@@ -15,7 +15,7 @@ title: Home
     <span class="post-date">{{ post.date | date_to_string }}</span>
 
     {{ post.content }}
-  </div>
+  </article>
   {% endfor %}
 </div>