mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 05:50:40 +00:00
9 lines
224 B
HTML
9 lines
224 B
HTML
|
{{ define "main" }}
|
||
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }}
|
||
|
|
||
|
{{ range $paginator.Pages }}
|
||
|
{{ partial "list.html" . }}
|
||
|
{{ end }}
|
||
|
{{ partial "pagination.html" . }}
|
||
|
{{ end }}
|