From 44a553fb13c37aeacb3b93cebfd3c154f5eaf93a Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 1 Sep 2022 10:53:15 +0200 Subject: Update the template to the last Flex theme. Added the gpg public key --- theme/custom/base.html | 180 +++++--------------------------------- theme/custom/partial/sidebar.html | 98 +++++++++++++++++++++ 2 files changed, 118 insertions(+), 160 deletions(-) create mode 100644 theme/custom/partial/sidebar.html (limited to 'theme/custom') diff --git a/theme/custom/base.html b/theme/custom/base.html index debd12b..da00963 100755 --- a/theme/custom/base.html +++ b/theme/custom/base.html @@ -3,6 +3,7 @@ {{ msg % kwargs }} {%- endmacro -%} {% endif %} + @@ -31,9 +32,9 @@ {% if page in hidden_pages %} - + {% else %} - + {% endif %} {% if USE_GOOGLE_FONTS != False %} @@ -102,38 +103,14 @@ {% endif %} - {% if FEED_ALL_ATOM %} - - {% endif %} - - {% if FEED_ALL_RSS %} - - {% endif %} + {% include "partial/icon.html" %} - {% if FAVICON %} - - - {% endif %} + {% include "partial/color.html" %} - {% if GOOGLE_ANALYTICS %} - {% include "partial/ga.html" %} - {% endif %} - - {% if GOOGLE_GLOBAL_SITE_TAG %} - {% include "partial/ggst.html" %} - {% endif %} + {% include "partial/feed.html" %} - {% if BROWSER_COLOR %} - - - - - - - - - - {% endif %} + {% include "partial/ga.html" %} + {% include "partial/ggst.html" %} {% if not PLUGINS or 'seo' not in PLUGINS %} {% if REL_CANONICAL %} @@ -168,99 +145,15 @@ }); {% endif %} - {% if GOOGLE_TAG_MANAGER %} - {% include "partial/gtm.html" %} - {% endif %} - {% if MICROSOFT_CLARITY %} - {% include "partial/clarity.html" %} - {% endif %} + + {% include "partial/gtm.html" %} + {% include "partial/clarity.html" %} - {% if GOOGLE_TAG_MANAGER %} - {% include "partial/gtm_noscript.html" %} - {% endif %} -
{% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.main_menu %} @@ -272,53 +165,20 @@ {% endif %} - {% if MAIN_MENU %} - - {% endif %} + {% include "partial/nav.html" %} {% block content %} {% endblock %} -
- {% if CC_LICENSE %} - {% include "partial/cc_license.html" %} - {% else %} - {% include "partial/copyright.html" %} - {% endif %} -
+ {% include "partial/footer.html" %}
- {% if GUAGES %} - {% include "partial/guages.html" %} - {% endif %} - - {% if ADD_THIS_ID %} - - {% endif %} - - {% if (PIWIK_URL and PIWIK_SITE_ID) or (MATOMO_URL and MATOMO_SITE_ID) %} - {% include "partial/matomo.html" %} - {% endif %} - {% include "partial/jsonld.html" %} - - {% if GITHUB_CORNER_URL %} - {% include 'partial/github.html' %} - {% endif %} + {% include "partial/guages.html" %} + {% include "partial/addthis.html" %} + {% include "partial/matomo.html" %} + {% include 'partial/github.html' %} + {% include 'partial/stork.html' %} {% block additional_js %}{% endblock %} diff --git a/theme/custom/partial/sidebar.html b/theme/custom/partial/sidebar.html new file mode 100644 index 0000000..e4ae53f --- /dev/null +++ b/theme/custom/partial/sidebar.html @@ -0,0 +1,98 @@ + -- cgit v1.2.3