{{ partial "meta.html" . }} {{- if hugo.IsProduction -}} {{- else if (eq hugo.Environment "staging") -}} {{ end }} {{/* preload Roboto Flex as it's a critical font: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload */}} {{ partialCached "utils/css.html" "-" }} {{ $theme := resources.Get "js/theme.js" | js.Build (dict "minify" true) }} {{ $js := resources.Match "js/src/**.js" | resources.Concat "scripts.js" | js.Build (dict "params" (dict "apikey" site.Params.algolia.apikey "appid" site.Params.algolia.appid "indexname" site.Params.algolia.indexname ) "targetPath" "scripts.js" ) }} {{ partialCached "utils/resources.html" "-" }}