From bd5272429b5e94c5df906064a70819059e79bf7d Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Fri, 26 Jul 2024 14:23:45 -0600 Subject: [PATCH 1/9] Update `Spotlight` homepage posts to `Ideas`, including cta link text --- ...155_homepagespotlightposts_cta_and_more.py | 37 +++++++++++++++++++ .../wagtailpages/pagemodels/base.py | 7 +++- .../fragments/spotlight_posts.html | 3 +- 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py diff --git a/network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py b/network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py new file mode 100644 index 00000000000..1f2b1b6e357 --- /dev/null +++ b/network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py @@ -0,0 +1,37 @@ +# Generated by Django 4.2.11 on 2024-07-26 20:18 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), + ("wagtailpages", "0154_update_cardgridblock_with_linkblock"), + ] + + operations = [ + migrations.AddField( + model_name="homepagespotlightposts", + name="cta", + field=models.CharField(default="Read more", max_length=50), + ), + migrations.AlterField( + model_name="homepage", + name="spotlight_headline", + field=models.CharField(blank=True, help_text="Ideas headline", max_length=140), + ), + migrations.AlterField( + model_name="homepage", + name="spotlight_image", + field=models.ForeignKey( + blank=True, + help_text="Ideas image", + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="spotlight_image", + to="wagtailimages.image", + ), + ), + ] diff --git a/network-api/networkapi/wagtailpages/pagemodels/base.py b/network-api/networkapi/wagtailpages/pagemodels/base.py index 9a9c6b86272..98fa2d6c7da 100644 --- a/network-api/networkapi/wagtailpages/pagemodels/base.py +++ b/network-api/networkapi/wagtailpages/pagemodels/base.py @@ -449,8 +449,10 @@ class HomepageSpotlightPosts(TranslatableMixin, WagtailOrderable): related_name="spotlight_posts", ) blog = models.ForeignKey("BlogPage", on_delete=models.CASCADE, related_name="+") + cta = models.CharField(max_length=50, default="Read more") panels = [ FieldPanel("blog"), + FieldPanel("cta", heading="CTA Link Text"), ] class Meta(TranslatableMixin.Meta, WagtailOrderable.Meta): @@ -763,12 +765,13 @@ def get_banner(self): null=True, blank=True, on_delete=models.SET_NULL, + help_text="Ideas image", related_name="spotlight_image", ) spotlight_headline = models.CharField( max_length=140, - help_text="Spotlight headline", + help_text="Ideas headline", blank=True, ) @@ -876,7 +879,7 @@ def get_banner(self): FieldPanel("spotlight_headline"), InlinePanel("spotlight_posts", label="Posts", min_num=3, max_num=3), ], - heading="spotlight", + heading="Ideas", classname="collapsible", ), MultiFieldPanel( diff --git a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html index c0e88eee0d4..a4ba0afa7d2 100644 --- a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html +++ b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html @@ -3,7 +3,7 @@
-

{% trans "Spotlight" %}

+

{% trans "Ideas" %}

@@ -19,6 +19,7 @@

{{ localized.title }}

{% include "./blog_authors.html" with blog_page=localized %} + {{ post.cta }}
{% endwith %} {% endfor %} From 6a5b0bc936e5ae05447cb63e2cbea5be1c5f091a Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Fri, 26 Jul 2024 18:02:06 -0600 Subject: [PATCH 2/9] Fix coliding migration, update ideas featured image height --- ...nd_more.py => 0156_homepagespotlightposts_cta_and_more.py} | 4 ++-- source/sass/views/home.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename network-api/networkapi/wagtailpages/migrations/{0155_homepagespotlightposts_cta_and_more.py => 0156_homepagespotlightposts_cta_and_more.py} (89%) diff --git a/network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py b/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py similarity index 89% rename from network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py rename to network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py index 1f2b1b6e357..4206d349900 100644 --- a/network-api/networkapi/wagtailpages/migrations/0155_homepagespotlightposts_cta_and_more.py +++ b/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.11 on 2024-07-26 20:18 +# Generated by Django 4.2.11 on 2024-07-26 20:52 from django.db import migrations, models import django.db.models.deletion @@ -8,7 +8,7 @@ class Migration(migrations.Migration): dependencies = [ ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), - ("wagtailpages", "0154_update_cardgridblock_with_linkblock"), + ("wagtailpages", "0155_homepagetakeactioncards_cta"), ] operations = [ diff --git a/source/sass/views/home.scss b/source/sass/views/home.scss index 94cae6e5a19..7488cf167e2 100644 --- a/source/sass/views/home.scss +++ b/source/sass/views/home.scss @@ -55,7 +55,7 @@ } @media (min-width: $bp-lg) { - height: 400px; + height: 460px; } } From 3fdaf464bf861692c33c208eef167629921fcfba Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Mon, 29 Jul 2024 10:44:23 -0600 Subject: [PATCH 3/9] Linting update --- .../migrations/0156_homepagespotlightposts_cta_and_more.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py b/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py index 4206d349900..32024c9144a 100644 --- a/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py +++ b/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py @@ -1,7 +1,7 @@ -# Generated by Django 4.2.11 on 2024-07-26 20:52 +# Generated by Django 4.2.11 on 2024-07-29 16:41 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): From 4cc8952bf3509e418d150e16812e1dbc63abd678 Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Tue, 30 Jul 2024 11:33:08 -0600 Subject: [PATCH 4/9] Fix wrong url for ideas blog elements and height for featured ideas image --- .../templates/wagtailpages/fragments/spotlight_posts.html | 2 +- source/sass/views/home.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html index a4ba0afa7d2..53389388e87 100644 --- a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html +++ b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html @@ -19,7 +19,7 @@

{{ localized.title }}

{% include "./blog_authors.html" with blog_page=localized %} - {{ post.cta }} + {{ post.cta }}
{% endwith %} {% endfor %} diff --git a/source/sass/views/home.scss b/source/sass/views/home.scss index 7488cf167e2..d601d380240 100644 --- a/source/sass/views/home.scss +++ b/source/sass/views/home.scss @@ -55,7 +55,7 @@ } @media (min-width: $bp-lg) { - height: 460px; + height: 100%; } } From 57366dfd302a0712868e2bbecaff04ee3bdd5f0e Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Sun, 8 Sep 2024 21:48:04 -0600 Subject: [PATCH 5/9] Update migration to reflect new section name in model, fields, styles and factories --- .../wagtailpages/factory/homepage.py | 4 +- .../wagtailpages/factory/homepage_features.py | 9 ++-- ...156_homepagespotlightposts_cta_and_more.py | 37 ----------------- .../0160_homepageideasposts_and_more.py | 41 +++++++++++++++++++ network-api/networkapi/wagtailpages/models.py | 2 +- .../wagtailpages/pagemodels/base.py | 22 +++++----- ...{spotlight_posts.html => ideas_posts.html} | 10 ++--- .../templates/wagtailpages/homepage.html | 2 +- source/sass/views/home.scss | 8 ++-- 9 files changed, 69 insertions(+), 66 deletions(-) delete mode 100644 network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py create mode 100644 network-api/networkapi/wagtailpages/migrations/0160_homepageideasposts_and_more.py rename network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/{spotlight_posts.html => ideas_posts.html} (61%) diff --git a/network-api/networkapi/wagtailpages/factory/homepage.py b/network-api/networkapi/wagtailpages/factory/homepage.py index af272e81899..fbb9fc6e9ed 100644 --- a/network-api/networkapi/wagtailpages/factory/homepage.py +++ b/network-api/networkapi/wagtailpages/factory/homepage.py @@ -32,8 +32,8 @@ class Meta: quote_source_job_title = Faker("text", max_nb_chars=50) partner_background_image = SubFactory(ImageFactory) partner_intro_text = Faker("text", max_nb_chars=80) - spotlight_headline = Faker("text", max_nb_chars=100) - spotlight_image = SubFactory(ImageFactory) + ideas_headline = Faker("text", max_nb_chars=100) + ideas_image = SubFactory(ImageFactory) def generate(seed): diff --git a/network-api/networkapi/wagtailpages/factory/homepage_features.py b/network-api/networkapi/wagtailpages/factory/homepage_features.py index 194e4b6bd6c..4cb95654c97 100644 --- a/network-api/networkapi/wagtailpages/factory/homepage_features.py +++ b/network-api/networkapi/wagtailpages/factory/homepage_features.py @@ -5,7 +5,7 @@ BlogPage, FocusArea, HomepageFocusAreas, - HomepageSpotlightPosts, + HomepageIdeasPosts, ) @@ -24,13 +24,12 @@ def generate(seed): HomepageFocusAreas.objects.create(page=home_page, area=FocusArea.objects.get(name="Shape the Agenda")) - NUM_SPOTLIGHT_POSTS = 3 + NUM_IDEAS_POSTS = 3 all_blogs = list(BlogPage.objects.all()) - home_page.spotlight_posts = [ - HomepageSpotlightPosts.objects.create(page=home_page, blog=choice(all_blogs)) - for i in range(NUM_SPOTLIGHT_POSTS) + home_page.ideas_posts = [ + HomepageIdeasPosts.objects.create(page=home_page, blog=choice(all_blogs)) for i in range(NUM_IDEAS_POSTS) ] home_page.save() diff --git a/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py b/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py deleted file mode 100644 index 32024c9144a..00000000000 --- a/network-api/networkapi/wagtailpages/migrations/0156_homepagespotlightposts_cta_and_more.py +++ /dev/null @@ -1,37 +0,0 @@ -# Generated by Django 4.2.11 on 2024-07-29 16:41 - -import django.db.models.deletion -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), - ("wagtailpages", "0155_homepagetakeactioncards_cta"), - ] - - operations = [ - migrations.AddField( - model_name="homepagespotlightposts", - name="cta", - field=models.CharField(default="Read more", max_length=50), - ), - migrations.AlterField( - model_name="homepage", - name="spotlight_headline", - field=models.CharField(blank=True, help_text="Ideas headline", max_length=140), - ), - migrations.AlterField( - model_name="homepage", - name="spotlight_image", - field=models.ForeignKey( - blank=True, - help_text="Ideas image", - null=True, - on_delete=django.db.models.deletion.SET_NULL, - related_name="spotlight_image", - to="wagtailimages.image", - ), - ), - ] diff --git a/network-api/networkapi/wagtailpages/migrations/0160_homepageideasposts_and_more.py b/network-api/networkapi/wagtailpages/migrations/0160_homepageideasposts_and_more.py new file mode 100644 index 00000000000..42639a6e173 --- /dev/null +++ b/network-api/networkapi/wagtailpages/migrations/0160_homepageideasposts_and_more.py @@ -0,0 +1,41 @@ +import django.db.models.deletion +import modelcluster.fields +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("wagtailcore", "0089_log_entry_data_json_null_to_object"), + ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), + ("wagtailpages", "0159_update_bgcta_with_linkblock"), + ] + + operations = [ + migrations.RenameModel( + old_name="HomepageSpotlightPosts", + new_name="HomepageIdeasPosts", + ), + migrations.RenameField( + model_name="homepage", + old_name="spotlight_headline", + new_name="ideas_headline", + ), + migrations.RenameField( + model_name="homepage", + old_name="spotlight_image", + new_name="ideas_image", + ), + migrations.AddField( + model_name="homepageideasposts", + name="cta", + field=models.CharField(default="Read more", max_length=50), + ), + migrations.AlterField( + model_name="homepageideasposts", + name="page", + field=modelcluster.fields.ParentalKey( + on_delete=django.db.models.deletion.CASCADE, related_name="ideas_posts", to="wagtailpages.homepage" + ), + ), + ] diff --git a/network-api/networkapi/wagtailpages/models.py b/network-api/networkapi/wagtailpages/models.py index c41f6b6f88e..efd254e1e70 100644 --- a/network-api/networkapi/wagtailpages/models.py +++ b/network-api/networkapi/wagtailpages/models.py @@ -5,8 +5,8 @@ FoundationMetadataPageMixin, Homepage, HomepageFocusAreas, + HomepageIdeasPosts, HomepageNewsYouCanUse, - HomepageSpotlightPosts, InitiativesPage, ParticipateHighlights, ParticipateHighlights2, diff --git a/network-api/networkapi/wagtailpages/pagemodels/base.py b/network-api/networkapi/wagtailpages/pagemodels/base.py index ebf286a6a03..d243372131a 100644 --- a/network-api/networkapi/wagtailpages/pagemodels/base.py +++ b/network-api/networkapi/wagtailpages/pagemodels/base.py @@ -443,10 +443,10 @@ class Styleguide(PrimaryPage): ] -class HomepageSpotlightPosts(TranslatableMixin, WagtailOrderable): +class HomepageIdeasPosts(TranslatableMixin, WagtailOrderable): page = ParentalKey( "wagtailpages.Homepage", - related_name="spotlight_posts", + related_name="ideas_posts", ) blog = models.ForeignKey("BlogPage", on_delete=models.CASCADE, related_name="+") cta = models.CharField(max_length=50, default="Read more") @@ -764,16 +764,16 @@ def get_banner(self): hero_button_url = models.URLField(blank=True) - spotlight_image = models.ForeignKey( + ideas_image = models.ForeignKey( "wagtailimages.Image", null=True, blank=True, on_delete=models.SET_NULL, help_text="Ideas image", - related_name="spotlight_image", + related_name="ideas_image", ) - spotlight_headline = models.CharField( + ideas_headline = models.CharField( max_length=140, help_text="Ideas headline", blank=True, @@ -883,9 +883,9 @@ def get_banner(self): ), MultiFieldPanel( [ - FieldPanel("spotlight_image"), - FieldPanel("spotlight_headline"), - InlinePanel("spotlight_posts", label="Posts", min_num=3, max_num=3), + FieldPanel("ideas_image"), + FieldPanel("ideas_headline"), + InlinePanel("ideas_posts", label="Posts", min_num=3, max_num=3), ], heading="Ideas", classname="collapsible", @@ -935,8 +935,8 @@ def get_banner(self): SynchronizedField("hero_image"), TranslatableField("hero_button_text"), SynchronizedField("hero_button_url"), - SynchronizedField("spotlight_image"), - TranslatableField("spotlight_headline"), + SynchronizedField("ideas_image"), + TranslatableField("ideas_headline"), TranslatableField("cause_statement"), TranslatableField("cause_statement_link_text"), TranslatableField("cause_statement_link_page"), @@ -953,7 +953,7 @@ def get_banner(self): TranslatableField("focus_areas"), TranslatableField("take_action_cards"), TranslatableField("partner_logos"), - TranslatableField("spotlight_posts"), + TranslatableField("ideas_posts"), TranslatableField("news_you_can_use"), ] diff --git a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html similarity index 61% rename from network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html rename to network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html index 53389388e87..b3ee89edb30 100644 --- a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html +++ b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html @@ -1,20 +1,20 @@ {% load wagtailimages_tags i18n %} -
+

{% trans "Ideas" %}

-
-

{{ page.spotlight_headline }}

+
+

{{ page.ideas_headline }}

- {% for post in page.spotlight_posts.all %} + {% for post in page.ideas_posts.all %} {% with localized=post.blog.localized %} -
+

{{ localized.title }}

diff --git a/network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html b/network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html index eac3c8393e3..7a6f074fc97 100644 --- a/network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html +++ b/network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html @@ -43,7 +43,7 @@
- {% include "./fragments/spotlight_posts.html" %} + {% include "./fragments/ideas_posts.html" %}
diff --git a/source/sass/views/home.scss b/source/sass/views/home.scss index e956df862bb..fab87667bf8 100644 --- a/source/sass/views/home.scss +++ b/source/sass/views/home.scss @@ -28,7 +28,7 @@ } } - .section-spotlight { + .section-ideas { .capsule-label { font-size: 14px; line-height: calc(16 / 14); @@ -45,7 +45,7 @@ bottom: -50%; } - .spotlight-banner { + .ideas-banner { background-size: cover; background-position: center; @apply tw-h-120; @@ -59,11 +59,11 @@ } } - .spotlight-headline { + .ideas-headline { font-weight: 700; } - .spotlight-post { + .ideas-post { $vertical-spacing: 1.5rem; &:first-child { From 566954156b67c9e17011e0186e8890eb64eb3b8d Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Mon, 9 Sep 2024 12:28:54 -0600 Subject: [PATCH 6/9] Update models file to trigger CI --- network-api/networkapi/wagtailpages/pagemodels/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/network-api/networkapi/wagtailpages/pagemodels/base.py b/network-api/networkapi/wagtailpages/pagemodels/base.py index d243372131a..e191bdb4d04 100644 --- a/network-api/networkapi/wagtailpages/pagemodels/base.py +++ b/network-api/networkapi/wagtailpages/pagemodels/base.py @@ -769,13 +769,11 @@ def get_banner(self): null=True, blank=True, on_delete=models.SET_NULL, - help_text="Ideas image", related_name="ideas_image", ) ideas_headline = models.CharField( max_length=140, - help_text="Ideas headline", blank=True, ) From 43acbcafb90f9c65f84e3d4a99982afeebcc657a Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Mon, 9 Sep 2024 13:17:45 -0600 Subject: [PATCH 7/9] Test new migration to refresh cache on CI --- ..._alter_homepage_ideas_headline_and_more.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py diff --git a/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py b/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py new file mode 100644 index 00000000000..290fd070d29 --- /dev/null +++ b/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py @@ -0,0 +1,31 @@ +# Generated by Django 4.2.15 on 2024-09-09 19:16 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), + ("wagtailpages", "0160_homepageideasposts_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="homepage", + name="ideas_headline", + field=models.CharField(blank=True, max_length=140), + ), + migrations.AlterField( + model_name="homepage", + name="ideas_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="ideas_image", + to="wagtailimages.image", + ), + ), + ] From c839b9c1d554e5d2232220b1c0b33b4cc3e83fe4 Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Mon, 9 Sep 2024 14:45:50 -0600 Subject: [PATCH 8/9] Fix migration import order --- .../migrations/0161_alter_homepage_ideas_headline_and_more.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py b/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py index 290fd070d29..eca07941ebb 100644 --- a/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py +++ b/network-api/networkapi/wagtailpages/migrations/0161_alter_homepage_ideas_headline_and_more.py @@ -1,7 +1,7 @@ # Generated by Django 4.2.15 on 2024-09-09 19:16 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): From 0524ac23fd74c95d1a87d56862931853a6e173ce Mon Sep 17 00:00:00 2001 From: Ramon Ramos Date: Tue, 10 Sep 2024 10:32:30 -0600 Subject: [PATCH 9/9] Show links in mobile viewports --- .../templates/wagtailpages/fragments/ideas_posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html index b3ee89edb30..4d9bcc9475e 100644 --- a/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html +++ b/network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ideas_posts.html @@ -19,7 +19,7 @@

{{ localized.title }}

{% include "./blog_authors.html" with blog_page=localized %} - {{ post.cta }} + {{ post.cta }}
{% endwith %} {% endfor %}