_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:
parent
1f15c20995
commit
810e499b93
12 changed files with 22 additions and 21 deletions
4
page.php
4
page.php
|
@ -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(); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue