Merge pull request #44 from cbarrick/html5
authorMark Otto <markd.otto@gmail.com>
Fri, 26 Sep 2014 04:40:46 +0000 (21:40 -0700)
committerMark Otto <markd.otto@gmail.com>
Fri, 26 Sep 2014 04:40:46 +0000 (21:40 -0700)
Better HTML 5 semantics

1  2 
_layouts/default.html

diff --combined _layouts/default.html
index 87ee3eb730a66b6a33adae77ef270bf5159b4ff6,7eefbf963798625c4a1e9d716420dde9ec377872..62aa2596157b7e96fec80cd05840613812d4a02b
@@@ -1,25 -1,27 +1,27 @@@
  <!DOCTYPE html>
 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
 +<html lang="en">
  
    {% include head.html %}
  
    <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">
-         <p>
-           &copy; {{ site.time | date: '%Y' }}. All rights reserved.
-         </p>
-       </div>
+       <footer class="footer">
+         <small>
+           &copy; <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>. All rights reserved.
+         </small>
+       </footer>
      </div>
  
    </body>