diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_0437a1669ac8a9868f1dd1fe846b91a6.content b/exampleSite/resources/_gen/assets/scss/scss/main.scss_25313c7f970c6a0e26ba33bc5f91d30d.content
similarity index 100%
rename from exampleSite/resources/_gen/assets/scss/scss/main.scss_0437a1669ac8a9868f1dd1fe846b91a6.content
rename to exampleSite/resources/_gen/assets/scss/scss/main.scss_25313c7f970c6a0e26ba33bc5f91d30d.content
diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_0437a1669ac8a9868f1dd1fe846b91a6.json b/exampleSite/resources/_gen/assets/scss/scss/main.scss_25313c7f970c6a0e26ba33bc5f91d30d.json
similarity index 100%
rename from exampleSite/resources/_gen/assets/scss/scss/main.scss_0437a1669ac8a9868f1dd1fe846b91a6.json
rename to exampleSite/resources/_gen/assets/scss/scss/main.scss_25313c7f970c6a0e26ba33bc5f91d30d.json
diff --git a/layouts/partials/script.html b/layouts/partials/script.html
index 3c82ceef..4c6e416c 100644
--- a/layouts/partials/script.html
+++ b/layouts/partials/script.html
@@ -1,13 +1,13 @@
-{{- $main := resources.Get "js/main.js" | resources.ExecuteAsTemplate "js/main-rendered.js" . -}}
-{{- $header := resources.Get "js/header.js" | resources.ExecuteAsTemplate "js/header-rendered.js" . -}}
-{{- $navToggle := resources.Get "js/nav-toggle.js" | resources.ExecuteAsTemplate "js/nav-toggle-rendered.js" . -}}
-{{- $backToTop := resources.Get "js/back-to-top.js" | resources.ExecuteAsTemplate "js/back-to-top-rendered.js" . -}}
-{{- $darkMode := resources.Get "js/dark-mode.js" | resources.ExecuteAsTemplate "js/dark-mode-rendered.js" . -}}
-{{- $lang := resources.Get "js/multilingual.js" | resources.ExecuteAsTemplate "js/multilingual-rendered.js" . -}}
-{{- $wrapTable := resources.Get "js/wrap-table.js" | resources.ExecuteAsTemplate "js/wrap-table-rendered.js" . -}}
-{{- $copy := resources.Get "js/copy.js" | resources.ExecuteAsTemplate "js/copy-rendered.js" . -}}
-{{- $comments := resources.Get "js/comments.js" | resources.ExecuteAsTemplate "js/comments-rendered.js" . -}}
-{{- $custom := resources.Get "js/custom.js" | resources.ExecuteAsTemplate "js/custom-rendered.js" . -}}
+{{- $main := resources.Get "js/main.js" | resources.ExecuteAsTemplate (printf "%s/js/main-rendered.js" .Lang) . -}}
+{{- $header := resources.Get "js/header.js" | resources.ExecuteAsTemplate (printf "%s/js/header-rendered.js" .Lang) . -}}
+{{- $navToggle := resources.Get "js/nav-toggle.js" | resources.ExecuteAsTemplate (printf "%s/js/nav-toggle-rendered.js" .Lang) . -}}
+{{- $backToTop := resources.Get "js/back-to-top.js" | resources.ExecuteAsTemplate (printf "%s/js/back-to-top-rendered.js" .Lang) . -}}
+{{- $darkMode := resources.Get "js/dark-mode.js" | resources.ExecuteAsTemplate (printf "%s/js/dark-mode-rendered.js" .Lang) . -}}
+{{- $lang := resources.Get "js/multilingual.js" | resources.ExecuteAsTemplate (printf "%s/js/multilingual-rendered.js" .Lang) . -}}
+{{- $wrapTable := resources.Get "js/wrap-table.js" | resources.ExecuteAsTemplate (printf "%s/js/wrap-table-rendered.js" .Lang) . -}}
+{{- $copy := resources.Get "js/copy.js" | resources.ExecuteAsTemplate (printf "%s/js/copy-rendered.js" .Lang) . -}}
+{{- $comments := resources.Get "js/comments.js" | resources.ExecuteAsTemplate (printf "%s/js/comments-rendered.js" .Lang) . -}}
+{{- $custom := resources.Get "js/custom.js" | resources.ExecuteAsTemplate (printf "%s/js/custom-rendered.js" .Lang) . -}}
{{- .Scratch.Set "script" (slice $main) -}}
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index 950521d6..8795e24e 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -2,9 +2,9 @@
{{- $options := (dict "targetPath" $path "outputStyle" "compressed") -}}
{{- if .Site.Params.enableFingerprint -}}
- {{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "styles/main-rendered.scss" . | resources.ToCSS $options | resources.Fingerprint -}}
+ {{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss" .Lang) . | resources.ToCSS $options | resources.Fingerprint -}}
{{- printf `` $style.RelPermalink $style.Data.Integrity | safeHTML -}}
{{- else -}}
- {{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "styles/main-rendered.scss" . | resources.ToCSS $options -}}
+ {{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss" .Lang) . | resources.ToCSS $options -}}
{{- printf `` $style.RelPermalink | safeHTML -}}
{{- end -}}