blob: 7731147c35a8ee3ecf17cfd23437af444a388d9b (
plain)
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
|
{{ partial "header.html" . }}
<div class="container">
<article>
<div class="article-meta">
<div class="categories">
{{ range $i, $e := .Params.categories }}
{{ if $i }} ⊹ {{ end }}<a href="{{ relURL (print "/categories/" $e | urlize) }}">{{ $e }}</a>
{{ end }}
</div>
<h1><span class="title">{{ .Title }}</span></h1>
{{ with .Params.author }}
<h3 class="author">{{ . }}</h3>
{{ end }}
{{ with .Params.tags }}
<div>{{ default "Tags: " (index $.Site.Params.text "tags") }} {{ range $i, $e := . }}{{ if $i }}; {{ end }}<a href="{{ relURL (print "/tags/" $e | urlize) }}">{{ $e }}</a>{{ end }}
</div>
{{ end }}
</div>
{{ if .Params.toc }}
{{ .TableOfContents }}
{{ end }}
<main>
{{ .Content }}
</main>
{{ partial "author.html" . }}
{{ partial "info.html" . }}
{{ partial "prev_next.html" . }}
{{ partial "comments.html" . }}
</article>
</div>
{{ partial "footer.html" . }}
|