peruna/layouts/index.html

9 lines
283 B
HTML
Raw Permalink Normal View History

2018-04-03 09:51:11 +00:00
{{ partial "header.html" . }}
{{ range $index, $page := (.Paginate (where (where .Data.Pages "Type" "posts") ".Params.hidden" "!=" "true" )).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" .Paginator }}
{{ partial "footer.html" . }}