blob: 6b5301f679338f4f2bc9461542b85fbfcbcb650a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{ define "main" }}
<div class="list">
<h1>{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}</h1>
{{ .Content }}
<ul>
{{ range .Pages.ByTitle }}
<li>
<p><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
</li>
{{ end }}
</ul>
</div>
{{ end }}
|