hugo-coder-fork/layouts/partials/list.html

13 lines
336 B
HTML

<section class="container list">
<h1 class="title">{{ .Title }}</h1>
<ul>
{{ range .Paginator.Pages }}
<li>
<span>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ partial "pagination.html" . }}
</section>