diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-16 17:35:21 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-16 17:35:21 +0700 |
commit | ac73f7ff7739157254bfcec36ef9463c86b0de72 (patch) | |
tree | 0ec1c17c81a56d0ecb0754bad489124a2e3f4545 /_layout/foot.html | |
parent | f3074f4e4e88e0f27ac115535479382460cdfb82 (diff) | |
download | site-ac73f7ff7739157254bfcec36ef9463c86b0de72.tar.gz |
Overhaul style
Diffstat (limited to '_layout/foot.html')
-rw-r--r-- | _layout/foot.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/_layout/foot.html b/_layout/foot.html index f87c1a1..95abfb5 100644 --- a/_layout/foot.html +++ b/_layout/foot.html @@ -1,9 +1,7 @@ -<!-- CONTENT ENDS HERE --> - {{ if hasmath }} - {{ insert foot_katex.html }} - {{ end }} - {{ if hascode }} - {{ insert foot_highlight.html }} - {{ end }} - </body> +{{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}} +{{if hascode}}<script src=/libs/highlight/highlight.pack.js></script> +<script>hljs.initHighlightingOnLoad();</script>{{end}} +</body> </html> |