From 38d945d86e57d7b911fc2ad2172fcc91ad82fce7 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 10 Oct 2022 08:41:19 -0700 Subject: [PATCH] Remove the variable from the blog list -- it doesn't get used --- layouts/blog/list.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 02c40e3..d770fd6 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -3,11 +3,6 @@ {{ end }} {{ define "main" }} -{{ $pages := union .RegularPages .Sections }} -{{ if .IsHome }} - {{ $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} -{{ end }} - {{ range .Pages.ByDate.GroupByDate "2006" }}

{{ .Key }}