|
@ -5,7 +5,6 @@ |
|
|
{{ .Content }} |
|
|
{{ .Content }} |
|
|
<section class="article-list"> |
|
|
<section class="article-list"> |
|
|
{{ $pages := .Pages }} |
|
|
{{ $pages := .Pages }} |
|
|
{{ if .IsHome }}{{ $pages = where .Site.RegularPages "Type" "not in" (default "[]" .Site.Params.excludedSections) }}{{ end }} |
|
|
|
|
|
{{ range (where $pages "Section" "ne" "") }} |
|
|
{{ range (where $pages "Section" "ne" "") }} |
|
|
{{ partial "article-card.html" . }} |
|
|
{{ partial "article-card.html" . }} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|