{{ template "_internal/google_analytics.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ $sass := resources.Get "scss/main.scss" }} {{ $bootstrapCSS := $sass | toCSS }} {{ $otherCSS := resources.Match "css/**.css" }} {{ $allCSS := slice $bootstrapCSS | append $otherCSS }} {{ $finalCSS := $allCSS | resources.Concat "css/style.css" | minify | fingerprint }} {{ $JS := resources.Match "js/**.js" }} {{ $ConcatenatedJS := $JS | resources.Concat "js/scripts.js" }} {{ $scriptJS := $ConcatenatedJS | js.Build (dict "minify" true "sourcemap" "external" "target" "es2015" "keepNames" true) | resources.Fingerprint }} {{ partial "lazyimg-setup" }} {{ if .Params.image }} {{ $img := .Resources.GetMatch .Params.image }} {{ end }}