hugo-theme-lowtech/layouts/partials/js.html

6 lines
233 B
HTML
Raw Normal View History

2021-02-16 16:37:34 +01:00
{{ $js := resources.Get "js/main.js" }}
{{ with $js }}
2021-07-03 16:03:24 +02:00
{{ $secureJS := . | js.Build | resources.Minify | resources.Fingerprint }}
2021-04-01 11:02:51 +02:00
<script src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
2020-09-09 12:15:40 +02:00
{{ end }}