diff --git a/config.toml b/config.toml index 6ee890c..9063918 100644 --- a/config.toml +++ b/config.toml @@ -35,6 +35,9 @@ author_url = "https://fosstodon.org/@gamingrobot" # https://www.goatcounter.com/ goatcounter = "grbt-doingstuff" +# https://github.com/francoischalifour/medium-zoom +jszoom = false + # https://mermaid.js.org/ mermaid_theme = "default" mermaid_theme_dark = "dark" diff --git a/themes/hyde-hyde-hyde-zola/config.toml b/themes/hyde-hyde-hyde-zola/config.toml index 7d6d86f..5b2cad7 100644 --- a/themes/hyde-hyde-hyde-zola/config.toml +++ b/themes/hyde-hyde-hyde-zola/config.toml @@ -31,6 +31,9 @@ author_url = "https://example.com" # https://www.goatcounter.com/ # goatcounter = "goatcounter-code-here" +# https://github.com/francoischalifour/medium-zoom +jszoom = false + # https://mermaid.js.org/ mermaid_theme = "default" mermaid_theme_dark = "dark" diff --git a/themes/hyde-hyde-hyde-zola/templates/page.html b/themes/hyde-hyde-hyde-zola/templates/page.html index 5e0931d..17ea786 100644 --- a/themes/hyde-hyde-hyde-zola/templates/page.html +++ b/themes/hyde-hyde-hyde-zola/templates/page.html @@ -80,8 +80,8 @@

{{ page.title }}

{% block js_body %} {% if page.extra.mermaid %} - + {% endif %} + {% if page.extra.jszoom %} + + + {% endif %} {% endblock js_body %} diff --git a/themes/hyde-hyde-hyde-zola/templates/shortcodes/mermaid.html b/themes/hyde-hyde-hyde-zola/templates/shortcodes/mermaid.html index fbabcb6..c094635 100644 --- a/themes/hyde-hyde-hyde-zola/templates/shortcodes/mermaid.html +++ b/themes/hyde-hyde-hyde-zola/templates/shortcodes/mermaid.html @@ -1,5 +1,5 @@
-
+
{{ body }}
\ No newline at end of file