commit d1abde64f8c5c4c9251022d30276a7399cb1398e
parent 62f95c92aec5a340c207965e08cad477d06713c4
Author: Michael Neuper <michael@michaelneuper.com>
Date: Fri, 3 Nov 2023 16:46:09 +0200
Disable math by default
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/archetypes/default.md b/archetypes/default.md
@@ -5,6 +5,7 @@ description: Generic description
categories: []
tags: []
toc: true
+math: false
draft: false
---
Generic summary
diff --git a/config.toml b/config.toml
@@ -16,7 +16,6 @@ url = "/posts/"
pre = "<object class='icon' type='image/svg+xml' data='/images/icons/blog.svg'></object>"
weight = 1
-
[[menu.main]]
identifier = "rss"
name = "RSS"
@@ -73,7 +72,7 @@ toc = true
showWordCount = false
showReadingTime = true
rootFontSize = "105%"
-math = true
+math = false
enableDuckDuckGoSearchBox = true
numberedSubtitles = true
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
@@ -30,7 +30,7 @@
{{ end }}
<!-- math -->
- {{ if .Site.Params.math }}
+ {{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}