about summary refs log tree commit diff homepage
path: root/_layout
diff options
context:
space:
mode:
Diffstat (limited to '_layout')
-rw-r--r--_layout/foot.html2
-rw-r--r--_layout/head.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/_layout/foot.html b/_layout/foot.html
index 43530ed..8edabc4 100644
--- a/_layout/foot.html
+++ b/_layout/foot.html
@@ -1,6 +1,6 @@
 {{if hasmath}}<script src=/libs/katex/katex.min.js></script>
 <script src=/libs/katex/auto-render.min.js></script>
-<script>renderMathInElement(document.body)</script>{{end}}
+<script>renderMathInElement(document.body, {output: 'mathml'})</script>{{end}}
 {{if hascode}}<script src=/libs/highlight/highlight.pack.js></script>
 <script>hljs.initHighlightingOnLoad()</script>{{end}}
 </body>
diff --git a/_layout/head.html b/_layout/head.html
index 3e4d65f..763c35f 100644
--- a/_layout/head.html
+++ b/_layout/head.html
@@ -1,6 +1,5 @@
 {{insert hair.html}}
 {{isnotempty rss}}<meta name=description content="{{rss_description}}">{{end}}
-{{if hasmath}}<link rel=stylesheet href=/css/katex.min.css>{{end}}
 {{isdef title}}<title>{{title}} - McSinyx</title>{{end}}
 <body>
 {{insert header.html}}