From 28fd806645a31a06f48b7198dff35dca84fb6d6d Mon Sep 17 00:00:00 2001 From: Alexandru Artimon Date: Wed, 3 Jul 2024 13:09:52 +0000 Subject: [PATCH] HDX-9070 - Discovery - Google Search Console - Core Web Vitals - Prepare for March 2024 - fix fontawesome for pages that don't inherit page.html --- ckanext-hdx_theme/ckanext/hdx_theme/templates/base.html | 2 ++ ckanext-hdx_theme/ckanext/hdx_theme/templates/page.html | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/templates/base.html b/ckanext-hdx_theme/ckanext/hdx_theme/templates/base.html index 6b05056d61..1cd3cbdace 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/templates/base.html +++ b/ckanext-hdx_theme/ckanext/hdx_theme/templates/base.html @@ -169,6 +169,8 @@ {{ g.template_head_end | safe }} {% endblock %} + + {# render all assets included in styles block #} {{ h.render_assets('style') }} {%- block custom_styles %} diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/templates/page.html b/ckanext-hdx_theme/ckanext/hdx_theme/templates/page.html index 62102ec7aa..ced71f99f4 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/templates/page.html +++ b/ckanext-hdx_theme/ckanext/hdx_theme/templates/page.html @@ -223,8 +223,6 @@ {# {% if g.tracking_enabled %}#} {# {% resource 'hdx_theme/package/tracking.js' %}#} {# {% endif %}#} - - {##} {{ super() }} {% asset 'hdx_theme/search-scripts' %}