From d9877f69432c2588bef6d558a9b4d4f9cbcce38f Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Wed, 1 Mar 2023 17:41:23 -0800
Subject: Update to Zola 0.17.1
---
templates/macros/head.html | 64 +++++++++++++++++++++++-----------------------
1 file changed, 32 insertions(+), 32 deletions(-)
(limited to 'templates/macros/head.html')
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 880e005..528577a 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -2,7 +2,7 @@
{%- macro theme(config) %}
{%- if config.extra.js_theme %}
{%- if config.extra.js_themeButton or config.extra.js_bundle %}
-
+
{%- endif %}
{%- endif %}
{%- endmacro %}
@@ -34,7 +34,7 @@
{%- if config.extra.katex_css %}{%- if config.extra.katex_css is matching("^http[s]?://") %}
{%- else %}
-
+
{%- endif %}{%- endif %}
{%- endif %}
@@ -78,28 +78,28 @@
{%- elif config.extra.search_library == "tinysearch" or config.extra.search_library == "stork" %}
{#- dont load the index #}
{%- elif config.extra.js_search_index %}
-
+
{%- endif %}
{%- if not config.extra.js_search_facade %}
{%- if config.extra.js_switcher %}
-
+
{%- else %}
-
+
{%- endif %}
{%- elif config.extra.search_library == "tinysearch" %}
-
+
{%- elif config.extra.search_library == "stork" %}
-
+
{%- else %}
{%- if config.extra.js_switcher %}
-
+
{%- else %}
-
+
{%- endif %}
{%- endif %}
@@ -111,53 +111,53 @@
{%- if preStyle == true %}
{%- if config.extra.js_prestyle %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_theme %}
{%- if config.extra.js_themeButton %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_email %}
{%- if config.extra.social.mail_encode %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_codecopy %}
-
+
{%- endif %}
{%- if config.extra.js_search_facade %}
{%- if config.extra.search_library %}
{%- if config.extra.search_library == "tinysearch" %}
-
+
{%- elif config.extra.search_library == "stork" %}
-
+
{%- endif %}
{%- endif %}
-
+
{%- endif %}
{%- if config.extra.js_search_facade or config.extra.search_library %}
{#- dont load the index/search #}
{%- elif config.extra.js_search_index %}
-
+
{%- endif %}
{%- if config.extra.js_search_facade %}
{#- dont load the index/search #}
{%- else %}
{%- if config.extra.search_library == "tinysearch" %}
-
+
{%- elif config.extra.search_library == "stork" %}
-
+
{%- else %}
-
-
+
+
{%- endif %}
{%- endif %}
@@ -167,10 +167,10 @@
{%- if config.extra.js_switcher %}
-
+
{%- else %}
-
+
{%- endif %}
{%- else %}
@@ -179,24 +179,24 @@
{%- if preStyle == true %}
{%- if config.extra.js_prestyle %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_theme %}
{%- if config.extra.js_themeButton or config.extra.js_bundle %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_email %}
{%- if config.extra.social.mail_encode %}
-
+
{%- endif %}
{%- endif %}
{%- if config.extra.js_codecopy %}
-
+
{%- endif %}
@@ -209,19 +209,19 @@
{%- if config.extra.math or page.extra.math %}
{%- if config.extra.katex_bundle %}
-
+
{%- else %}
{%- if config.extra.katex_js %}{%- if config.extra.katex_js is matching("^http[s]?://") %}
{%- else %}
-
+
{%- endif %}{%- endif %}
{%- if config.extra.mathtex_js %}{%- if config.extra.mathtex_js is matching("^http[s]?://") %}
{%- else %}
-
+
{%- endif %}{%- endif %}
{%- if config.extra.math_auto_render or page.extra.math_auto_render %}
@@ -229,10 +229,10 @@
{%- if config.extra.katex_autorender_js is matching("^http[s]?://") %}
{%- else %}
-
+
{%- endif %}
{%- endif %}
-
+
{%- endif %}
{%- endif %}
--
cgit v1.3.1