-
Notifications
You must be signed in to change notification settings - Fork 1
/
tag.html
executable file
·53 lines (53 loc) · 2.64 KB
/
tag.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
<!DOCTYPE html>
<html>
<head>
{{template "head" .}}
<meta name="keywords" content="{{.Site.Title}}, {{.Site.Subtitle}}">
<meta name="description" content="{{.Site.Subtitle}}">
<meta name="author" content="{{.Author.Name}}">
<title>{{.Site.Title}}</title>
</head>
<body>
<!--[if lt IE 8]>
<div class="browsehappy" role="dialog">当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>.</div>
<![endif]-->
{{template "header" .}}
<div id="body" class="clearfix">
<div class="container-fluid">
<div class="row">
<div id="main" class="col-12 clearfix" role="main">
<article class="posti" itemscope itemtype="http://schema.org/BlogPosting">
<div class="site">
<h1 class="title">{{.Site.Title}}</h1>
<h2 class="subtitle">{{.Site.Subtitle}}</h2>
</div>
<!-- 总分类&标签 -->
<h3>{{i18n "tag"}} - {{.Total}} {{i18n "articles"}}</h3>
<div class="post-tags">
<!-- 分类 -->
<!--
<h4>Category</h4>
<ul>
<li rel="tag"><a href="category/nichijou/index.html">日常</a></li>
<li rel="tag"><a href="category/code/index.html">代码</a></li>
<li rel="tag"><a href="category/poem/index.html">诗</a></li>
<li rel="tag"><a href="category/thought/index.html">感想</a></li>
<li rel="tag"><a href="category/history/index.html">历史</a></li>
</ul>
-->
<!-- 标签 -->
<h4>Tag</h4>
<ul>
{{range .Tag}}
<li rel="tag"><a href="{{$.Site.Root}}/tag/{{.Name}}/index.html">{{.Name}} ({{.Count}})</a></li>
{{end}}
</ul>
</div>
</article>
</div>
</div>
</div>
</div><!-- end #body -->
{{template "footer" .}}
</body>
</html>