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
commit311dfdcc6b5712dd6085287ada5ebe48e02116c4 (patch)
tree37053cfe69bc7a115d849f61223cf51dedb99e80 /www/layouts/partials/js.html
parent0c885ba1bf30ce8308880f926be85b6f5a499fa6 (diff)
downloadcrupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.tar.gz
crupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.tar.bz2
crupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.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 }}