Browse Source

Use <header>, <main>, and <footer>

Chris Barrick 10 years ago
parent
commit
b545c895ce
1 changed files with 7 additions and 5 deletions
  1. 7 5
      _layouts/default.html

+ 7 - 5
_layouts/default.html

@@ -6,20 +6,22 @@
   <body>
 
     <div class="container content">
-      <div class="masthead">
+      <header class="masthead">
         <h3 class="masthead-title">
           <a href="{{ site.baseurl }}" title="Home">{{ site.title }}</a>
           <small>{{ site.tagline }}</small>
         </h3>
-      </div>
+      </header>
 
-      {{ content }}
+      <main>
+        {{ content }}
+      </main>
 
-      <div class="footer">
+      <footer class="footer">
         <small>
           &copy; <time datetime="{{ site.time | date_to_xmlschema}}">{{ site.time | date: '%Y' }}</time>. All rights reserved.
         </small>
-      </div>
+      </footer>
     </div>
 
   </body>