Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Jan 15, 2025
1 parent 1b95811 commit b2671b0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions layouts/partials/tw/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
{{ $edImpact := partial "helper/get-hp-picks" "edImpact" }}
{{ $featuredTopics := "topics/the-capitol/_index.md" }}

{{ $showNewsletterCallout := true }}
{{ $newsletterCalloutRiver := site.GetPage "topics/PA Local/_index.md" }}

{{ $bureau := site.GetPage "/statecollege/" }}
{{ $paPost := site.GetPage "/newsletters/papost" }}
{{ $river := sort $news.RegularPages ".PublishDate" "desc" }}
Expand All @@ -44,8 +41,8 @@ <h1 class="sr-only">{{ .Title }}</h1>
"edInvestigations" $edInvestigations
"edImpact" $edImpact

"showNewsletterCallout" $showNewsletterCallout
"newsletterCalloutRiver" $newsletterCalloutRiver
"showNewsletterCallout" true
"newsletterCalloutRiver" (site.GetPage "topics/PA Local/_index.md")
"newsletterHed" "Latest From Our Daily Newsletter"
"bureau" $bureau
"river" $river
Expand Down

0 comments on commit b2671b0

Please sign in to comment.