-
Notifications
You must be signed in to change notification settings - Fork 1
/
article.html
executable file
·48 lines (48 loc) · 2.62 KB
/
article.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
<!DOCTYPE html>
<html>
<head>
{{template "head" .}}
<meta name="keywords" content="{{range .Tags}}{{.}},{{end}}">
<meta name="description" content="{{.Title}}">
<meta name="author" content="{{.Author.Name}}">
<title>{{.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">
<h1 class="post-title" itemprop="name headline">{{.Title}}</h1>
<div class="post-meta">
<p>
{{if .Author.Name}}Written by <a itemprop="name" href="{{.Site.Root}}/about.{{.Author.Id}}.html" rel="author">{{.Author.Name}}</a>{{end}} with ♥ on <time datetime="{{.Date}}" itemprop="datePublished"></time> in {{range .Tags}}<a href="{{$.Site.Root}}/tag/{{.}}/index.html">{{.}} </a>{{end}}
</p>
</div>
<div class="post-content" itemprop="articleBody">
{{.Content}}
</div>
<div style="display:block;" class="clearfix">
<section style="float:left;">
<span itemprop="keywords" class="tags">
tag(s): {{range .Tags}}<a href="{{$.Site.Root}}/tag/{{.}}/index.html">{{.}} </a>{{end}}
</span>
</section>
<section style="float:right;">
<span><a id="btn-comments" href="javascript:isComments();">show comments</a></span> · <span><a href="javascript:goBack();">back</a></span> ·
<span><a href="/">home</a></span>
</section>
</div>
{{template "comment" .}}
</article>
</div>
</div>
</div>
</div><!-- end #body -->
{{template "footer" .}}
</body>
</html>