hugo-geekblog/layouts/posts/list.html

9 lines
224 B
HTML
Raw 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 }}