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

6 lines
170 B
HTML
Raw Normal View History

2020-09-09 12:15:40 +02:00
{{ $main := resources.Get "js/main.js" }}
{{ with $main }}
{{ $js := . | resources.Minify }}
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
{{ end }}