website/layouts/partials/scripts.html

3 lines
149 B
HTML

{{ $siteScript := resources.Get "js/site.js" | resources.ExecuteAsTemplate "js/site.js" . }}
<script src="{{ $siteScript.RelPermalink }}"> </script>