hugo-geekblog/layouts/index.html

9 lines
224 B
HTML
Raw Permalink Normal View History

2020-07-06 18:55:32 +00:00
{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }}
{{ range $paginator.Pages }}
{{ partial "list.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}