feat: Added static homepage

This commit is contained in:
ptrcnull 2020-11-24 19:23:23 +01:00
parent cabbcc082c
commit 439c4b98d8

View file

@ -1,9 +1,10 @@
{{ define "main" }} {{ define "main" }}
<main> <main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} <article>
{{ range $paginator.Pages }} <h1>{{ .Title }}</h1>
{{ .Render "summary" }} <div>
{{ end }} {{ .Content }}
{{ partial "pagination.html" . }} </div>
</article>
</main> </main>
{{ end }} {{ end }}