diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2c7043b8..cfd12da7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,15 +30,14 @@ {{ $main = $main | toCSS $opts | postCSS | fingerprint }} {{ end }} - + {{ $opts := dict "targetPath" "js/main.js" "enableSourceMap" (not hugo.IsProduction) }} {{ with resources.Get "ts/main.ts" | js.Build $opts | minify | fingerprint }} - + {{ end }} {{ if .IsHome }} @@ -47,7 +46,7 @@ "enableSourceMap" (not hugo.IsProduction) }} {{ with resources.Get "ts/formWorker.ts" | js.Build $opts | minify | fingerprint }} - + {{ end }} {{ end }}