{{- $main := resources.Get "js/main.js" }} {{- $menu := resources.Get "js/menu.js" }} {{- $theme := resources.Get "js/theme.js" }} {{- $nav := resources.Get "js/nav.js" }} {{- $image_enlargement := resources.Get "js/image_enlargement.js" }} {{- $secureJS := slice $main $menu $theme $nav $image_enlargement | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }} {{- if .Site.GoogleAnalytics }} {{- end }} {{- range $val := $.Site.Params.customJS }} {{- if gt (len $val) 0 }} {{- end }} {{- end }}