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" }}
|
||||
<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 }}
|
||||
|
|
Loading…
Reference in a new issue