Merge pull request #91 from vringar/fixing_list

Only show pages that are part of this list
This commit is contained in:
Dmitry Kolosov 2021-06-29 11:05:06 +03:00 committed by GitHub
commit 866556ffb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
<div class="articles h-feed">
<h1 class="post-title">{{ i18n .Title }}</h1>
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ $pages := where .Pages "Type" "in" site.Params.mainSections }}
{{ range $pages }}
<div class="post-short-list h-entry">
<header class="post-header">