summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/head/js.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/head/js.html')
-rw-r--r--layouts/_partials/head/js.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/layouts/_partials/head/js.html b/layouts/_partials/head/js.html
deleted file mode 100644
index 0210efa..0000000
--- a/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 }}