hugo-theme-noteworthy/layouts/partials/math.html

6 lines
436 B
HTML
Raw Normal View History

2020-02-02 17:13:02 +00:00
{{ if or .Page.Params.math .Site.Params.math }}
<!-- KaTeX -->
<link rel="stylesheet" type="text/css" href="{{ "css/katex.min.css" | relURL }}" crossorigin="anonymous">
<script type="text/javascript" src="{{ "js/katex.min.js" | relURL }}" crossorigin="anonymous"></script>
<script type="text/javascript" src="{{ "js/auto-render.min.js" | relURL }}"onload="renderMathInElement(document.body);" crossorigin="anonymous"></script>
2020-02-02 17:13:02 +00:00
{{ end }}