diff --git a/hugo.yml b/hugo.yml
index 9a1503598..0e7101bfe 100644
--- a/hugo.yml
+++ b/hugo.yml
@@ -76,7 +76,7 @@ module:
- source: node_modules/bootstrap/scss
target: assets/scss/bootstrap
- source: node_modules/bootstrap/dist/js/bootstrap.bundle.min.js
- target: static/assets/js/vendor/bootstrap.bundle.min.js
+ target: assets/js/bootstrap.bundle.min.js
params:
docs_version: "5.3"
diff --git a/src/layouts/partials/head.html b/src/layouts/partials/head.html
index b2819a1c3..7cb8d1d8f 100644
--- a/src/layouts/partials/head.html
+++ b/src/layouts/partials/head.html
@@ -16,7 +16,7 @@
{{- end }}
-{{- $colorModeJS := resources.Get "js/color-modes.js" | resources.Copy "/assets/js/color-modes.js" -}}
+{{- $colorModeJS := resources.Get "js/color-modes.js" | fingerprint | resources.Copy "/assets/js/color-modes.js" -}}
{{ partial "stylesheet" . }}
diff --git a/src/layouts/partials/scripts.html b/src/layouts/partials/scripts.html
index 26aa98100..ad634fed2 100644
--- a/src/layouts/partials/scripts.html
+++ b/src/layouts/partials/scripts.html
@@ -1,16 +1,17 @@
-
-
{{- $esbuildOptions := dict "target" "es2019" -}}
{{- if hugo.IsProduction -}}
{{- $esbuildOptions = merge $esbuildOptions (dict "minify" "true") -}}
{{- end -}}
-{{- $lazyload := resources.Get "js/lazyload.js" | js.Build $esbuildOptions | resources.Copy "/assets/js/lazyload.js" -}}
-{{- $application := resources.Get "js/application.js" | js.Build $esbuildOptions | resources.Copy "/assets/js/application.js" -}}
+{{- $bootstrapJs := resources.Get "/js/bootstrap.bundle.min.js" | fingerprint | resources.Copy "/assets/js/vendor/bootstrap.bundle.min.js" -}}
+
+
+{{- $application := resources.Get "js/application.js" | js.Build $esbuildOptions | fingerprint | resources.Copy "/assets/js/application.js" -}}
+{{- $lazyload := resources.Get "js/lazyload.js" | js.Build $esbuildOptions | fingerprint | resources.Copy "/assets/js/lazyload.js" -}}
-
+
{{ range .Page.Params.extra_js -}}
diff --git a/src/layouts/partials/stylesheet.html b/src/layouts/partials/stylesheet.html
index 44ce2b6ab..fbfc9f35f 100644
--- a/src/layouts/partials/stylesheet.html
+++ b/src/layouts/partials/stylesheet.html
@@ -5,6 +5,6 @@
{{- $sassOptions = merge $sassOptions (dict "outputStyle" "compressed") -}}
{{- end -}}
-{{- $style := resources.Get "scss/style.scss" | toCSS $sassOptions | postCSS $postcssOptions -}}
+{{- $style := resources.Get "scss/style.scss" | toCSS $sassOptions | postCSS $postcssOptions | fingerprint -}}