diff --git a/content/staff/_index.md b/content/staff/_index.md index 93d4400..6b26aeb 100644 --- a/content/staff/_index.md +++ b/content/staff/_index.md @@ -16,4 +16,4 @@ cascade: --- Staff are what make TFC happen. These people give their time, energy, and money to making sure TFC happens and are constantly following the Lord to His purpose for the communities they work in. -> If you'd like to check out newsletters written by ALL the staff [CLICK HERE](/newsletters "newsletters") +> If you'd like to check out newsletters written by ALL the staff [click here](/newsletters "newsletters"). diff --git a/layouts/newsletters/list.html b/layouts/newsletters/list.html index 41bca3a..37ba1c5 100644 --- a/layouts/newsletters/list.html +++ b/layouts/newsletters/list.html @@ -24,7 +24,7 @@ {{ .Content | emojify }} - {{ if gt .Pages 0 }} + {{ if gt (where (where .Site.RegularPages "Section" "staff") "Params.newsletter" true) 0 }}
{{ range where (where .Site.RegularPages "Section" "staff") "Params.newsletter" true }} {{ partial "article-link.html" . }}