From 0323bbd5b929b55c4031974b43559ce773440723 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 1 Feb 2022 18:35:47 +0100 Subject: Custom template for applications page --- theme/custom/base.html | 54 +++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 31 deletions(-) (limited to 'theme/custom/base.html') diff --git a/theme/custom/base.html b/theme/custom/base.html index 829cc1f..debd12b 100755 --- a/theme/custom/base.html +++ b/theme/custom/base.html @@ -3,7 +3,6 @@ {{ msg % kwargs }} {%- endmacro -%} {% endif %} - @@ -47,7 +46,7 @@ {% else %} - + {% endif %} {# DARK THEME STYLES #} @@ -92,11 +91,6 @@ {% endif %} {% if PLUGINS and 'tipue_search' in PLUGINS %} - - - - - {% endif %} @@ -141,19 +135,22 @@ {% endif %} - {% if REL_CANONICAL %} - {% if page %} - - {% elif article %} - - {% elif page_name == 'index' and not articles_previous_page %} - - {% elif author or category or tag or page_name == 'index' %} - - {% else %} - + {% if not PLUGINS or 'seo' not in PLUGINS %} + {% if REL_CANONICAL %} + {% if page %} + + {% elif article %} + + {% elif page_name == 'index' and not articles_previous_page %} + + {% elif author or category or tag or page_name == 'index' %} + + {% else %} + + {% endif %} {% endif %} - {% endif %} + {% endif %} + {% block meta %} @@ -174,6 +171,9 @@ {% if GOOGLE_TAG_MANAGER %} {% include "partial/gtm.html" %} {% endif %} + {% if MICROSOFT_CLARITY %} + {% include "partial/clarity.html" %} + {% endif %} {% if GOOGLE_TAG_MANAGER %} @@ -181,7 +181,7 @@ {% endif %}