{{$pf:= site.Params.variables.primary_font}} {{$sf:= site.Params.variables.secondary_font}} {{ $scripts := slice }} {{ range site.Params.plugins.js}} {{ if findRE "^http" .link }} {{ else }} {{ $scripts = $scripts | append (resources.Get .link) }} {{ end }} {{ end }} {{ $scripts := $scripts | append (resources.Get "js/script.js" | minify) }} {{ $scripts := $scripts | resources.Concat "/js/script.js" | minify | fingerprint "sha512" }} {{ with site.Params.cookies }} {{ if .enable }} {{ end }} {{ end }}