Merge branch 'feat-math-on-demand' into pre-release
This commit is contained in:
commit
2c8a0e374e
@ -25,7 +25,7 @@ readNextPosts = 2
|
|||||||
copyCodeButton = true
|
copyCodeButton = true
|
||||||
rssAsSocialIcon = true
|
rssAsSocialIcon = true
|
||||||
locale = "en-us"
|
locale = "en-us"
|
||||||
mathjax = true
|
math = false # true: enable mathjax globally (default is false)
|
||||||
toc = true
|
toc = true
|
||||||
|
|
||||||
# Graphcomment support
|
# Graphcomment support
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<nav></nav>
|
<nav></nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.mathjax }}{{ partial "mathjax_support.html" . }}{{ end }}
|
{{/* .Params is the current page config. .Site.Params is globall config in hugo.toml */}}
|
||||||
|
{{ if or .Site.Params.math .Params.math }}{{ partial "mathjax_support.html" . }}{{ end }}
|
||||||
|
|
||||||
{{ partial "header-extra.html" . }}
|
{{ partial "header-extra.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user