diff --git a/layouts/partials/head.gohtml b/layouts/partials/head.gohtml index af5e1f6c..bcd17405 100644 --- a/layouts/partials/head.gohtml +++ b/layouts/partials/head.gohtml @@ -8,10 +8,10 @@ {{- $options := dict "includePaths" (slice "node_modules") "targetPath" "assets/style.css" "outputStyle" (cond hugo.IsProduction "compressed" nil) "enableSourceMap" (not hugo.IsProduction) }} - {{- $style := resources.Get "sass/index.scss" | resources.ToCSS $options | resources.ExecuteAsTemplate "assets/style.css" . | resources.Fingerprint }} + {{- $style := resources.Get "sass/index.scss" | toCSS $options | resources.ExecuteAsTemplate "assets/style.css" . | resources.Fingerprint }} {{- $options := dict "targetPath" "assets/script.js" "target" "es2015" "minify" hugo.IsProduction "sourceMap" (cond hugo.IsProduction nil "inline") }} {{- $script := resources.Get "typescript/index.ts" | js.Build $options | resources.Fingerprint }} - \ No newline at end of file +