small fixes

This commit is contained in:
teldra 2022-04-02 23:26:56 +02:00
parent 534cb4e33e
commit 65046eee06

View File

@ -7,6 +7,7 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<article>
{{ $prev := 3000}} {{ $prev := 3000}}
{{range where .Site.RegularPages "Type" "in" site.Params.mainSections }} {{range where .Site.RegularPages "Type" "in" site.Params.mainSections }}
{{ $date := .Date }} {{ $date := .Date }}
@ -19,4 +20,5 @@
</div> </div>
{{ $prev = $date.Format "2006"}} {{ $prev = $date.Format "2006"}}
{{end}} {{end}}
</article>
{{ end }} {{ end }}