-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.html
85 lines (83 loc) · 4.13 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="https://cdn.bootcss.com"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>${head_title()} ${site_subtitle()}</title>
<!-- Favicon -->
<link rel="shortcut icon" href="${theme_url('/static/img/favicon.ico')}">
<meta name="renderer" content="webkit">
<!-- AmazeUI 3.0 -->
<link rel="stylesheet" href="${theme_url('/static/css/amazeui.min.css')}">
<!-- Custom CSS -->
<link rel="stylesheet" href="${theme_url('/static/css/customui.min.css')}">
<!-- CodeHighlight -->
<style>
.hljs{display:block;overflow-x:auto;padding:0.5em;color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#50a14f}.hljs-built_in,.hljs-class .hljs-title{color:#c18401}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}.hljs-link{text-decoration:underline}
</style>
<!-- FontAwesome -->
<link href="https://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<!-- 通过自有函数输出HTML头部信息 -->
<meta name="description" content="#if(!is_post)${site_description()}#else${excerpt(50)}#end" />
<meta name="keywords" content="${meta_keywords()}" />
<meta name="generator" content="Tale" />
</head>
<body id="blog">
<div class="headBand"></div>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">${site_title()} ${site_subtitle()}</a>
<!-- <a class="navbar-mobile-search" href="${site_url()}/search.html">
<span class="am-icon-search"></span>
</a> -->
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/about">About</a>
</li>
<li>
<a href="/archives">Archives</a>
</li>
<li>
<a href="/links">Links</a>
</li>
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
#if(!is_post)
<header class="intro-header" style="background-image: url(${theme_url('/static/images/snowgitlabk.jpg')})">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>${theme_option('big_title')}</h1>
<!-- <hr class="small"> -->
<span class="subheading">${theme_option('small_title')}</span>
</div>
</div>
</div>
</div>
</header>
#end
<!-- header end -->