diff options
| author | leiyu3 <s444814187@gmail.com> | 2025-07-17 11:47:55 -0400 |
|---|---|---|
| committer | leiyu3 <s444814187@gmail.com> | 2025-07-17 11:47:55 -0400 |
| commit | 6758a1a26de82a6dc3661db880513cba75f01110 (patch) | |
| tree | caf67546bd0113f434ca3ae65b4bc9b854b2878e /layouts/partials/head/js.html | |
| download | letsworship-6758a1a26de82a6dc3661db880513cba75f01110.tar.gz letsworship-6758a1a26de82a6dc3661db880513cba75f01110.zip | |
init commit
Diffstat (limited to 'layouts/partials/head/js.html')
| -rw-r--r-- | layouts/partials/head/js.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/head/js.html b/layouts/partials/head/js.html new file mode 100644 index 0000000..a1d84ae --- /dev/null +++ b/layouts/partials/head/js.html | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | {{- with resources.Get "js/main.js" }} | ||
| 2 | {{- $opts := dict "minify" true }} | ||
| 3 | {{- with . | js.Build $opts | fingerprint }} | ||
| 4 | <script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" | ||
| 5 | crossorigin="anonymous"> | ||
| 6 | </script> | ||
| 7 | {{- end }} | ||
| 8 | {{- end }} \ No newline at end of file | ||
