You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
388 B
10 lines
388 B
{{ $main := resources.Get "js/main.js" }}
|
|
{{ $bootstrap := resources.Get "js/bootstrap.bundle.min.js" }}
|
|
{{ $secureJS := slice $main $bootstrap | resources.Concat "bundle.js" | resources.Minify }}
|
|
<script defer src="{{ $secureJS.RelPermalink }}"></script>
|
|
|
|
{{ range $val := $.Site.Params.customJS }}
|
|
{{ if gt (len $val) 0 }}
|
|
<script src="{{ $val }}"></script>
|
|
{{ end }}
|
|
{{ end }}
|