diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-06-29 23:15:12 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-06-29 23:15:12 -0500 |
| commit | a51c9890d2b9720297c72b646c894a11474e8532 (patch) | |
| tree | ceb680b4ec84e07c04266bcf7bc90b6b5caa1036 /themes/kvog/layouts/_partials/head/js.html | |
| parent | 531c82359c93f81e40ec2aa6d77b8e0dbd8d4c9e (diff) | |
Diffstat (limited to 'themes/kvog/layouts/_partials/head/js.html')
| -rw-r--r-- | themes/kvog/layouts/_partials/head/js.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/themes/kvog/layouts/_partials/head/js.html b/themes/kvog/layouts/_partials/head/js.html deleted file mode 100644 index 0210efa..0000000 --- a/themes/kvog/layouts/_partials/head/js.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- with resources.Get "js/main.js" }} - {{- $opts := dict - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - }} - {{- with . | js.Build $opts }} - {{- if hugo.IsDevelopment }} - <script src="{{ .RelPermalink }}"></script> - {{- else }} - {{- with . | fingerprint }} - <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script> - {{- end }} - {{- end }} - {{- end }} -{{- end }} |