blob: 10fe19826cda90a72da6e50001195cd45c149b58 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{{- if or $.Site.Params.debug (findRE `\bhtml-comment\b` $.Site.Params.traceFlags) }}
{{ `<!-- partials/scripts.top.html -->` | safeHTML }}
{{- end}}
{{- if .IsHome }}
{{- end }}
{{- $assetBusting := not .Site.Params.disableJSAssetsBusting }}
<script src='{{ `js/custom.top.js` | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}'></script>
{{- range .Site.Params.custom_js_top }}
<script src='{{ . | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}'></script>
{{- end }}
|