-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
97 lines (92 loc) · 4.46 KB
/
header.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>${head_title()}</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<meta name="theme-color" content="#3F51B5">
<meta name="keywords" content="${meta_keywords()}">
<meta name="description" content="${meta_description()}">
<meta property="og:type" content="website">
<meta property="og:title" content="${head_title()}" />
<meta property="og:url" content="${site_url()}" />
<meta property="og:site_name" content="${head_title()}" />
<meta property="og:description" content="${meta_description()}" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="${head_title()}" />
<meta name="twitter:description" content="${meta_description()}" />
<link rel="shortcut icon" href="${theme_url('/static/favicon.ico')}">
<link rel="stylesheet" href="${theme_url('/static/css/style.css')}">
<script>window.lazyScripts = [];</script></head>
<body>
<div id="loading" class="active"></div>
<aside id="menu">
<div class="inner flex-row-vertical">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
<i class="icon icon-lg icon-close"></i>
</a>
<div class="brand-wrap" style="background-image:url(${theme_url('/static/img/brand.jpg')})">
<div class="brand">
<a href="${site_url()}" class="avatar waves-effect waves-circle waves-light">
<img src="${theme_url('/static/img/face.jpg')}"></a>
<hgroup class="introduce">
<h5 class="nickname">${theme_option('author') ?! 'biezhi'}</h5>
<a href="mailto:biezhi.me@gmail.com" class="mail">biezhi.me#gmail.com</a>
</hgroup>
</div>
</div>
<div class="scroll-wrap flex-col">
<ul class="nav">
<li class="waves-block waves-effect active">
<a href="${site_url()}">
<i class="icon icon-lg icon-home"></i>首页</a>
</li>
<li class="waves-block waves-effect">
<a href="${site_url('/archives')}">
<i class="icon icon-lg icon-archives"></i>归档</a>
</li>
<li class="waves-block waves-effect">
<a href="${site_url('/categories')}">
<i class="icon icon-lg icon-tags"></i>分类</a>
</li>
<li class="waves-block waves-effect">
<a href="${site_url('/about')}">
<i class="icon icon-lg icon-tags"></i>关于</a>
</li>
#if(null != social_link('github'))
<li class="waves-block waves-effect">
<a href="${social_link('github')}" target="_blank">
<i class="icon icon-lg icon-github"></i>Github</a>
</li>
#end
#if(null != social_link('weibo'))
<li class="waves-block waves-effect">
<a href="${social_link('weibo')}" target="_blank">
<i class="icon icon-lg icon-weibo"></i>Weibo</a>
</li>
#end
</ul>
</div>
</div>
</aside>
<main id="main">
<header class="top-header" id="header">
<div class="flex-row">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
<i class="icon icon-lg icon-navicon"></i>
</a>
<div class="flex-col header-title ellipsis">${head_title()}</div>
<div class="search-wrap" id="search-wrap">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
<i class="icon icon-lg icon-chevron-left"></i>
</a>
<input id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
<i class="icon icon-lg icon-search"></i>
</a>
</div>
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
<i class="icon icon-lg icon-share-alt"></i>
</a>
</div>
</header>