making newsletters page show all newsletters with better author tag

This commit is contained in:
Chris Cochrun 2023-05-11 08:43:40 -05:00
parent 3f77dd4f84
commit 9eb6f6ef05
6 changed files with 13 additions and 5 deletions

View file

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