diff --git a/feedler/templates/feedler/feed_page.html b/feedler/templates/feedler/feed_page.html index 34ed625..172a07b 100644 --- a/feedler/templates/feedler/feed_page.html +++ b/feedler/templates/feedler/feed_page.html @@ -3,9 +3,6 @@ {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} -{% block extra_css %} -{% endblock %} - {% block title %}Feeds{% endblock %} {% block content %} diff --git a/publichealth/home/templates/home/article_page.html b/publichealth/home/templates/home/article_page.html index a7960cb..8e43f0f 100644 --- a/publichealth/home/templates/home/article_page.html +++ b/publichealth/home/templates/home/article_page.html @@ -1,12 +1,14 @@ {% extends "base.html" %} -{% load static wagtailcore_tags %} +{% load static compress wagtailcore_tags %} {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} {% block extra_css %} + {% compress css %} + {% endcompress %} {% endblock %} {% block content %} diff --git a/publichealth/home/templates/home/home_page.html b/publichealth/home/templates/home/home_page.html index df0d537..7feef0f 100644 --- a/publichealth/home/templates/home/home_page.html +++ b/publichealth/home/templates/home/home_page.html @@ -1,11 +1,13 @@ {% extends "base.html" %} -{% load static wagtailcore_tags %} +{% load static compress wagtailcore_tags %} {% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %} {% block extra_css %} + {% compress css %} + {% endcompress %} {% endblock %} {% block content %} diff --git a/publichealth/home/templates/puput/base.html b/publichealth/home/templates/puput/base.html index 8de714b..792c5fc 100644 --- a/publichealth/home/templates/puput/base.html +++ b/publichealth/home/templates/puput/base.html @@ -16,8 +16,11 @@ content="{% block meta_description %} {{ blog_page.search_description }} {% endblock meta_description %}"/> + {% block social_share %}{% endblock social_share %} + + - + + +{% endblock %} + +{% block extra_js %} {% endblock %} {% block content %} + +{% if blog_page.header_image %} + + {% image blog_page.header_image fill-1500x360 as header_image %} + + +{% endif %} +
{{ blog_page.description }}