peruna/layouts/_default/list.html

10 lines
295 B
HTML
Raw Permalink Normal View History

2018-04-03 09:51:11 +00:00
{{ partial "header.html" . }}
<h2 class="c-title p-tag-title">{{ .Title }}</h2>
{{ range $index, $page := (.Paginate (where .Data.Pages "Type" "posts")).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" .Paginator }}
{{ partial "footer.html" . }}