_s: Use <main> element for main content.

See: http://www.w3.org/TR/html51/grouping-content.html#the-main-element

Props @BFTrick for initial patch.
Fixes #222.
This commit is contained in:
obenland 2013-07-30 12:12:45 -07:00
parent 1f15c20995
commit 810e499b93
12 changed files with 22 additions and 21 deletions

View file

@ -13,7 +13,7 @@
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
@ -27,7 +27,7 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>