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" }}
<main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "pagination.html" . }}
<article>
<h1>{{ .Title }}</h1>
<div>
{{ .Content }}
</div>
</article>
</main>
{{ end }}