From 09b01ccb70d596a10830dfd889d80f6d355ae6c5 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 25 Apr 2025 16:51:09 +0800 Subject: chore: exclude non-posts page from archive --- layouts/_default/section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 657bee24..139b72e8 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -4,7 +4,7 @@
{{ partial "components/heatmap.html" . }} - {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).GroupByDate "2006" -}} + {{ range (where site.RegularPages "Type" "eq" "posts").GroupByDate "2006" -}}

{{ .Key }} -- cgit v1.2.3