aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials/js.html
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-26 19:36:40 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 19:36:40 +0800
commit8c7102cbfe81c97a17f079ce42938f81e0f8a6f8 (patch)
treef42f553c4c8a559d616cf5a1b521c4ca0568037a /www/layouts/partials/js.html
parent046c71c4c282b7c9dce781c8a1f31c68a1515854 (diff)
downloadcrupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.gz
crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.bz2
crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.zip
fix(www): css load blink, code block bg, links.
Diffstat (limited to 'www/layouts/partials/js.html')
-rw-r--r--www/layouts/partials/js.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/layouts/partials/js.html b/www/layouts/partials/js.html
index a4e8048..16dafa4 100644
--- a/www/layouts/partials/js.html
+++ b/www/layouts/partials/js.html
@@ -4,6 +4,8 @@
<script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}"></script>
{{ end }}
{{ else }}
- <script src="{{ (. | js.Build dict) .RelPermalink }}"></script>
+ {{ with . | js.Build }}
+ <script src="{{ .RelPermalink }}"></script>
+ {{ end }}
{{ end }}
{{ end }}