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

@ -0,0 +1,5 @@
---
title: "Chris Cochrun"
---
woot

View file

@ -13,5 +13,6 @@ cascade:
showBreadcrumbs: true showBreadcrumbs: true
sharingLinks: ['facebook', 'instagram', 'email', 'reddit'] sharingLinks: ['facebook', 'instagram', 'email', 'reddit']
showHero: true showHero: true
showAuthorsBadge: true
--- ---
If you'd like to read the newsletters that individual staff write, check them out here! If you'd like to read the newsletters that individual staff write, check them out here!

View file

@ -1,7 +1,8 @@
--- ---
title: "3 Months!? 📖" title: "3 Months!? 📖"
date: 2023-05-07 date: 2023-05-07
tags: ["Northern Valley", "Bible"] tags: ["Chris & Abbie Cochrun", "Northern Valley", "Bible"]
newsletter: true
featured_image: "featured.jpg" featured_image: "featured.jpg"
showHero: true showHero: true
description: "How long would it take me to read through the New Testament? That's the question I got as we wound down our spring of Bible study with some of the junior high kids last week." description: "How long would it take me to read through the New Testament? That's the question I got as we wound down our spring of Bible study with some of the junior high kids last week."
@ -9,7 +10,7 @@ summary: "How long would it take me to read through the New Testament? That's th
showAuthor: false showAuthor: false
showTableOfContents: true showTableOfContents: true
authors: ["chriscochrun"] authors: ["chriscochrun"]
showAuthorsBadge: false showAuthorsBadge: true
showTaxonomies: true showTaxonomies: true
--- ---

View file

@ -3,11 +3,12 @@ title: "So. Many. Events. 😲"
date: 2022-11-02T15:24:04-05:00 date: 2022-11-02T15:24:04-05:00
tags: ["Chris & Abbie Cochrun", "Leadership Retreat", "Northern Valley", "180 Encounter", "45th Anniversary"] tags: ["Chris & Abbie Cochrun", "Leadership Retreat", "Northern Valley", "180 Encounter", "45th Anniversary"]
featured_image: "" featured_image: ""
newsletter: true
description: "At TFC, we do our best to make sure teens become a lot more than just Christians." description: "At TFC, we do our best to make sure teens become a lot more than just Christians."
summary: "At TFC, we do our best to make sure teens become a lot more than just Christians." summary: "At TFC, we do our best to make sure teens become a lot more than just Christians."
showAuthor: false showAuthor: false
authors: ["chriscochrun"] authors: ["chriscochrun"]
showAuthorsBadges: false showAuthorsBadges: true
--- ---
# 👑 Leaders Rise Up! # 👑 Leaders Rise Up!

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB