feat: Added static homepage
This commit is contained in:
parent
cabbcc082c
commit
439c4b98d8
1 changed files with 6 additions and 5 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue