Skip to content
Browse files

use HTML5 semantic `header` and `nav`

  • Loading branch information...
1 parent b8583db commit 77adc7e30e0c3bbac5d6348bc5dcba61e65d2a14 @balexand committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 templates/layout.php
View
5 templates/layout.php
@@ -6,7 +6,10 @@
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
- <?php wp_nav_menu(); ?>
+ <header>
+ <h1><?php bloginfo("name"); ?></h1>
+ <?php wp_nav_menu(array( 'container'=> 'nav')); ?>
+ </header>
<?php $insert_page_content_here(); ?>
</body>

0 comments on commit 77adc7e

Please sign in to comment.
Something went wrong with that request. Please try again.