Remove the variable from the blog list -- it doesn't get used

This commit is contained in:
Eryn Wells 2022-10-10 08:41:19 -07:00
parent 1cdc11c477
commit 38d945d86e

View file

@ -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" }}
<h2>{{ .Key }}</h2>
<ul class="post-list">