~gg/blog-theme

ref: 4b83cd0f339293fe804bea3646555a230bc13f62 blog-theme/layouts/index.html -rw-r--r-- 281 bytes
4b83cd0f — vimux Update demosite 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
{{ define "main" }}
	<main>
		{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
		{{ range $paginator.Pages }}
			{{ .Render "summary" }}
		{{ end }}
		{{ partial "pagination.html" . }}
	</main>
{{ partial "sidebar.html" . }}
{{ end }}