Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/math.html')
-rw-r--r--layouts/partials/math.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
index 02a521c..3d83a63 100644
--- a/layouts/partials/math.html
+++ b/layouts/partials/math.html
@@ -1,6 +1,6 @@
-<link rel="stylesheet" href="/css/katex.min.css">
-<script defer src="/js/katex.min.js"></script>
-<script defer src="/js/auto-render.min.js"></script>
+<link rel="stylesheet" href={{"css/katex.min.css" | absURL}}>
+<script defer src={{"js/katex.min.js" | absURL}}></script>
+<script defer src={{ "js/auto-render.min.js" | absURL }}></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {