aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials/js.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/layouts/partials/js.html')
-rw-r--r--www/layouts/partials/js.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/www/layouts/partials/js.html b/www/layouts/partials/js.html
deleted file mode 100644
index 16dafa4..0000000
--- a/www/layouts/partials/js.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ with resources.Get . }}
- {{ if hugo.IsProduction }}
- {{ with . | js.Build (dict "minify" true "sourceMap" "external") | fingerprint }}
- <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}"></script>
- {{ end }}
- {{ else }}
- {{ with . | js.Build }}
- <script src="{{ .RelPermalink }}"></script>
- {{ end }}
- {{ end }}
-{{ end }}