Clean up
This commit is contained in:
parent
ec269f6128
commit
17ff78b20e
9 changed files with 62 additions and 134 deletions
43
header.php
43
header.php
|
@ -1,24 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
|
||||
<title><?php wp_title( ' – ', true, 'right' ); bloginfo( 'name' ); ?></title>
|
||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||
<?php wp_head(); ?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="header">
|
||||
<div class="container">
|
||||
<h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<nav>
|
||||
<ul class="nav">
|
||||
<?php wp_list_pages( 'title_li=' ); ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
|
||||
<title><?php wp_title( ' – ', true, 'right' ); bloginfo( 'name' ); ?></title>
|
||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
|
||||
<?php wp_head(); ?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="header">
|
||||
<div class="container">
|
||||
<h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<nav>
|
||||
<ul class="nav">
|
||||
<?php wp_list_pages( 'title_li=' ); ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue