mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-12 13:34:41 -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 }}
|