blob: 918a3c8ccf3146e8bc6749f5c50a79849c0c419f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{{- partial "header.html" . }}
<article class="post-single">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-meta">
{{- if or .Params.Author .Site.Author.name }}
{{- .Params.Author | default .Site.Author.name }} · {{ end }}
{{- .Date.Format "2006-01-02" -}}
</div>
{{- if .Params.tags }}
<ul class="post-tags">
{{- range .Params.tags }}
{{- $href := print (absURL "tags/") (urlize .) }}
<li><a href="{{ $href }}">{{ . }}</a></li>
{{- end }}
</ul>
{{- end }}
</header>
<div class="post-content">{{ .Content }}</div>
</article>
{{- partial "footer.html" . }}
|