blob: 9010f40f1b477ceda98f7ca0308f04da7bb13625 (
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
|
{{define "main"}}
<!--Title-->
<h2>{{.Title}}</h2>
<!--Date-->
{{.Date.Format "2006-01-30"}}
<!--TOC-->
{{.TableOfContents}}
<!--Content-->
{{.Content}}
<!--Tag-->
<ul>
{{range (.GetTerms "tags")}}
<li><a href="{{.RelPermalink}}">{{.LinkTitle}}</a></li>
{{end}}
</ul>
<!--Prev/Next-->
{{with .PrevInSection}}Prev <a href="{{.RelPermalink}}">{{.Title}}</a>{{end}}
{{with .NextInSection}}Next <a href="{{.RelPermalink}}">{{.Title}}</a>{{end}}
<!--Related-->
{{$related := .Site.RegularPages.Related . | first 5}}
{{with $related}}
<h3>See Also</h3>
<ul>
{{range .}}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
{{end}}
</ul>
{{end}}
{{end}}
|