From 67250dca95369b7cd1afbdaf694b022b008e5009 Mon Sep 17 00:00:00 2001 From: sptaule Date: Thu, 27 Jan 2022 15:03:27 +0100 Subject: Added gobal Search, template partials, deleted shortcodes not in use --- templates/base.html | 204 +++++++++------------------------------------------- 1 file changed, 34 insertions(+), 170 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 1e44aa7..8170b44 100755 --- a/templates/base.html +++ b/templates/base.html @@ -1,206 +1,70 @@ {% import 'macros.html' as macros %} - + - - - - {% if config.extra.favicon.webmanifest %} - - {% endif %} - {% if config.extra.favicon.safari_pinned_tab %} - - {% endif %} - {% if config.extra.favicon.favicon_16x16 %} - - {% endif %} - {% if config.extra.favicon.favicon_32x32 %} - - {% endif %} - {% if config.extra.favicon.apple_touch_icon %} - - {% endif %} - - {% if config.extra.galleria.enabled %} - - {% endif %} - - {% if config.extra.mapbox.enabled %} - - {% endif %} - - - - - - {% block user_custom_stylesheet %} - {% endblock %} - - - {% block title %} - {{ config.title }} - {% endblock title %} - - - {% if config.extra.katex.enabled %} - - - - - {% if config.extra.katex.auto_render %} - - {% endif %} - {% endif %} + {% include "partials/shared/head.html" %} - + + {% include "partials/shared/nav.html" %}
{% block content %}{% endblock %}
- - {% block pagination %} - {% if paginator.previous or paginator.next %} -
-
- + {% block search %} + - {% endif %} {% endblock %} - {% block comment %} + {% block pagination %} + {% include "partials/shared/paginator.html" %} {% endblock %} -
-
-

- {{ macros:: social_links( social_config=config.extra.social) }} -

-

- Powered by Zola -

-
-
+ {% block comment %}{% endblock %} + + {% include "partials/shared/footer.html" %} - {% if config.extra.galleria.enabled %} - - - - {% endif %} {% if config.extra.mermaid.enabled %} {% endif %} - {% if config.extra.chart.enabled %} - - {% endif %} + - + {%- if lang != "en" -%} - {%- block other_lang_search_js -%} - {%- endblock -%} + {%- block other_lang_search_js -%}{%- endblock -%} {%- endif -%} - {% block custom_js %} - {% endblock %} + {% block custom_js %}{% endblock %} - {% block user_custom_js %} - {% endblock %} + {% block user_custom_js %}{% endblock %} \ No newline at end of file -- cgit v1.2.3