mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
ae1de7abb1
Because it is the right solution and it the avoids naming conflict with section vs page. Updates #2297
12 lines
276 B
HTML
12 lines
276 B
HTML
{{ define "main" }}
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
<ul style="margin-top: 20px">
|
|
{{ range .Data.Pages }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a> <em>Updated {{ .Lastmod.Format "Mon, Jan 2, 2006" }}</em>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|