blob: b5ec8cae00a43193b2f74ea82f1ab8c435425ff7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{- define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{- range .Sections }}
<h2>{{ .Title }}</h2>
<ul>
{{- range .Pages }}
<li>
<a class="u-url" href="{{ .Permalink }}"><span class="p-name">{{ .Title }}</span></a>
<small>
<time class="dt-published" datetime="{{ .Date | dateFormat "2006-01-02" }}">
{{ .Date | dateFormat "2006-01-02" }}
</time>
{{- range .Params.tags }}
<a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a>
{{- end }}
</small>
</li>
{{- end }}
</ul>
{{- end }}
{{- end }}
|