First version
This commit is contained in:
6
layouts/partials/js.html
Normal file
6
layouts/partials/js.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ $targetPath := "js/main.js" }}
|
||||
{{ $main := resources.Get $targetPath }}
|
||||
{{ with $main }}
|
||||
{{ $js := . | resources.Minify }}
|
||||
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
|
||||
{{ end }}
|
Reference in New Issue
Block a user