hugo-theme-introduction/layouts/_default/list.html
2018-07-20 17:27:32 +02:00

15 lines
425 B
HTML

{{ define "main" }}
<div class="container markdown top-pad">
{{ .Content }}
</div>
<div class="container">
<ul>
{{ range .Pages.ByPublishDate.Reverse }}
<li>
<a href="{{ .Permalink }}">{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }} | {{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>
</body>
{{ end }}