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