2022-11-09 11:03:38 +01:00
|
|
|
<script>
|
|
|
|
window.minima_theme = localStorage.getItem('theme')
|
|
|
|
</script>
|
|
|
|
|
2022-11-09 09:03:19 +01:00
|
|
|
{{ if or .Params.math .Site.Params.math }}
|
2022-11-09 11:03:38 +01:00
|
|
|
{{ partial "katex.html" . }}
|
2022-11-09 09:03:19 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.mermaid .Site.Params.mermaid }}
|
|
|
|
{{ partial "mermaid.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.comment (and .Site.Params.commentOnAllPosts (ne .Params.comment false)) }}
|
|
|
|
|
|
|
|
{{ if eq .Site.Params.comment.provider "disqus"}}
|
|
|
|
{{ partial "disqus.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if eq .Site.Params.comment.provider "giscus" }}
|
|
|
|
{{ partial "giscus.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if eq .Site.Params.comment.provider "utterances"}}
|
|
|
|
{{ partial "utterances.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|