Compare commits
1 Commits
952502e690
...
54e942c85f
| Author | SHA1 | Date | |
|---|---|---|---|
| 54e942c85f |
@@ -58,6 +58,8 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.bergamot }}
|
{{ if .Params.bergamot }}
|
||||||
|
<!-- Ensure later scripts keep the KaTeX CSS even if the page has no LaTeX !-->
|
||||||
|
<meta name="needs-latex">
|
||||||
<!-- Code to support the Bergamot JS widget -->
|
<!-- Code to support the Bergamot JS widget -->
|
||||||
<script defer src="{{ .Site.Params.katexJsUrl }}" crossorigin="anonymous"></script>
|
<script defer src="{{ .Site.Params.katexJsUrl }}" crossorigin="anonymous"></script>
|
||||||
{{ $katexComponentJs := resources.Get "js/katex-component.js" | resources.Minify }}
|
{{ $katexComponentJs := resources.Get "js/katex-component.js" | resources.Minify }}
|
||||||
|
|||||||
Reference in New Issue
Block a user