|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * The Header template for our theme |
| 4 | + * |
| 5 | + * Displays all of the <head> section and everything up till <div id="main"> |
| 6 | + * |
| 7 | + * @package WordPress |
| 8 | + * @subpackage Twenty_Twelve |
| 9 | + * @since Twenty Twelve 1.0 |
| 10 | + */ |
| 11 | +?><!DOCTYPE html> |
| 12 | +<!--[if IE 7]> |
| 13 | +<html class="ie ie7" <?php language_attributes(); ?>> |
| 14 | +<![endif]--> |
| 15 | +<!--[if IE 8]> |
| 16 | +<html class="ie ie8" <?php language_attributes(); ?>> |
| 17 | +<![endif]--> |
| 18 | +<!--[if !(IE 7) | !(IE 8) ]><!--> |
| 19 | +<html lang="zh-CN" prefix="og: http://ogp.me/ns#"> |
| 20 | +<!--<![endif]--> |
| 21 | +<head> |
| 22 | +<meta charset="UTF-8" /> |
| 23 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| 24 | +<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> |
| 25 | +<link rel="profile" href="http://gmpg.org/xfn/11" /> |
| 26 | + |
| 27 | +<!--[if lt IE 9]> |
| 28 | +<script src="/wp-content/themes/maxclean/js/html5.js?03a085" type="text/javascript"></script> |
| 29 | +<![endif]--> |
| 30 | +<link rel="icon" href="/wp-content/uploads/2015/04/favicon.ico?03a085" type="image/x-icon" /> |
| 31 | +</head> |
| 32 | + |
| 33 | +<body class="home blog zh single-author"> |
| 34 | + |
| 35 | + <section> |
| 36 | + <header> |
| 37 | + <div class="logo"> |
| 38 | + |
| 39 | + <a href="{{ site.baseurl }}/" rel="home">{{ site.name }}</a> |
| 40 | + <small>{{ site.description }}</small> |
| 41 | + </div> |
| 42 | + |
| 43 | + |
| 44 | + <nav id="nav" class="nav-collapse"> |
| 45 | + <div class="menu-%e8%8f%9c%e5%8d%951-container"><ul id="menu-%e8%8f%9c%e5%8d%951" class="menu"><li id="menu-item-1025" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1025"><a href="/">首页</a></li> |
| 46 | +<li id="menu-item-1026" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1026"><a href="/archives/">列表</a></li> |
| 47 | +<li id="menu-item-3336" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3336"><a href="/terminology/">术语</a></li> |
| 48 | +<li id="menu-item-3337" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3337"><a href="/aboutus/">关于</a></li> |
| 49 | +</ul></div> |
| 50 | + </nav> |
1 | 51 |
|
| 52 | + </header> |
| 53 | + </section> |
2 | 54 |
|
3 |
| - <!DOCTYPE html> |
4 |
| -<html> |
5 |
| - <head> |
6 |
| - <meta charset="utf-8" /> |
7 |
| - <meta content='text/html; charset=utf-8' http-equiv='Content-Type'> |
8 |
| - <meta http-equiv='X-UA-Compatible' content='IE=edge'> |
9 |
| - <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> |
10 |
| - |
11 |
| - <title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> |
| 55 | +{{ content }} |
12 | 56 |
|
13 |
| - <meta name="author" content="{{ site.name }}" /> |
14 |
| - <meta name="description" content="{{ site.description }}"> |
| 57 | + </body> |
| 58 | + |
| 59 | +</html> |
15 | 60 |
|
16 |
| - <!--[if lt IE 9]> |
17 |
| - <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
18 |
| - <![endif]--> |
19 | 61 |
|
20 |
| - <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" /> |
21 | 62 |
|
22 |
| - <!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now --> |
23 |
| - </head> |
24 | 63 |
|
25 |
| - <body> |
26 |
| - <div class="wrapper-masthead"> |
27 |
| - <div class="container"> |
28 |
| - <header class="masthead clearfix"> |
29 |
| - <a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a> |
30 |
| - |
31 |
| - <div class="site-info"> |
32 |
| - <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1> |
33 |
| - <p class="site-description">{{ site.description }}</p> |
34 |
| - </div> |
35 |
| - |
36 |
| - <nav> |
37 |
| - <a href="{{ site.baseurl }}/">Blog</a> |
38 |
| - <a href="{{ site.baseurl }}/about">About</a> |
39 |
| - </nav> |
40 |
| - </header> |
41 |
| - </div> |
42 |
| - </div> |
43 |
| - |
44 |
| - <div id="main" role="main" class="container"> |
45 |
| - {{ content }} |
46 |
| - </div> |
47 |
| - |
48 |
| - <div class="wrapper-footer"> |
49 |
| - <div class="container"> |
50 |
| - <footer class="footer"> |
51 |
| - {% include svg-icons.html %} |
52 |
| - </footer> |
53 |
| - </div> |
54 |
| - </div> |
55 |
| - |
56 |
| - {% include analytics.html %} |
57 |
| - </body> |
58 |
| -</html> |
|
0 commit comments