From 65046eee069cf127ca6b8a60f35fdcd16872710e Mon Sep 17 00:00:00 2001 From: teldra Date: Sat, 2 Apr 2022 23:26:56 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/archive.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/buha/layouts/_default/archive.html b/themes/buha/layouts/_default/archive.html index 96d5e94..e7f171e 100644 --- a/themes/buha/layouts/_default/archive.html +++ b/themes/buha/layouts/_default/archive.html @@ -7,6 +7,7 @@ {{ end }} {{ define "main" }} +
{{ $prev := 3000}} {{range where .Site.RegularPages "Type" "in" site.Params.mainSections }} {{ $date := .Date }} @@ -19,4 +20,5 @@ {{ $prev = $date.Format "2006"}} {{end}} +
{{ end }} \ No newline at end of file