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

6 lines
184 B
HTML

{{ $main := resources.Get "js/main.js" }}
{{ with $main }}
{{ $js := . | resources.Minify | fingerprint }}
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
{{ end }}