From 5616c61cad1ca62d91aefed998e61b2d6e60931c Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Fri, 3 Jun 2022 15:09:38 -0400 Subject: [PATCH] changed section types allowed --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 859fe70..1a90fb2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@ {{ .Content }}
{{ $pages := .Pages }} - {{ if .IsHome }}{{ $pages = where .Site.RegularPages "Section" "not in" (default "[]" .Site.Params.excludedSections) }}{{ end }} + {{ if .IsHome }}{{ $pages = where .Site.RegularPages "CurrentSection" "not in" (default "[]" .Site.Params.excludedSections) }}{{ end }} {{ range (where $pages "Section" "ne" "") }} {{ partial "article-card.html" . }} {{ end }}