diff --git a/publichealth/home/models/models.py b/publichealth/home/models/models.py index fb29684..1a4224f 100644 --- a/publichealth/home/models/models.py +++ b/publichealth/home/models/models.py @@ -257,8 +257,6 @@ class ArticlePage(Page): ImageChooserPanel('feed_image'), ], heading="Images"), StreamFieldPanel('gallery'), - ] - content_panels = Page.content_panels + [ FieldPanel('html_content', classname='full'), ] promote_panels = [ diff --git a/publichealth/home/templates/home/page_content.html b/publichealth/home/templates/home/page_content.html index b4c646c..8b1d979 100644 --- a/publichealth/home/templates/home/page_content.html +++ b/publichealth/home/templates/home/page_content.html @@ -1,4 +1,4 @@ -{% load wagtailcore_tags wagtailimages_tags %} +{% load wagtailcore_tags wagtailimages_tags custom_filters %} {% if page.feed_image %}