Browse Source

changed section types allowed

master
Alexander Avery 3 years ago
parent
commit
5616c61cad
  1. 2
      layouts/_default/list.html

2
layouts/_default/list.html

@ -5,7 +5,7 @@
{{ .Content }}
<section class="article-list">
{{ $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 }}

Loading…
Cancel
Save