Compare commits

..

2 Commits

Author SHA1 Message Date
8cd1463fef Add jq filter for generating LGA page links 2024-08-19 10:52:44 +10:00
86e0e07f0e Tweak paragraph when we don't have any candidates 2024-08-19 10:52:29 +10:00
2 changed files with 2 additions and 1 deletions

1
lga-links-filter Normal file
View File

@@ -0,0 +1 @@
. | map("<a href=\"" + .slug + "\">" + .councilName + "</a>") | .[]

View File

@@ -95,7 +95,7 @@
<?php else: ?> <?php else: ?>
<!-- wp:paragraph --> <!-- wp:paragraph -->
<p>We don't know who the candidates are for <?php echo $wardName; ?> ward yet.</p> <p>No candidates in this ward have completed the Streets People Love survey. Send your local candidates the <a href="https://forms.gle/gnDNyBiVC64tDo2Y7">Streets People Love Pledge and Survey</a> and ask them to take part so that local residents can vote for the candidates who want to build the streets people love.</p>
<!-- /wp:paragraph --> <!-- /wp:paragraph -->
<?php endif; ?> <?php endif; ?>