fixing newsletters listing

This commit is contained in:
Chris Cochrun 2024-02-08 14:22:36 -06:00
parent ed855a2b47
commit a4803160b5
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
{{ .Content | emojify }}
</div>
</section>
{{ if gt .Pages 0 }}
{{ if gt (where (where .Site.RegularPages "Section" "staff") "Params.newsletter" true) 0 }}
<section class="space-y-10 w-full">
{{ range where (where .Site.RegularPages "Section" "staff") "Params.newsletter" true }}
{{ partial "article-link.html" . }}