diff --git a/dev.toml b/dev.toml
index 4d2f561..4bd0045 100644
--- a/dev.toml
+++ b/dev.toml
@@ -1,5 +1,5 @@
# Theme development config for exampleSite
-# https://gohugo.io/getting-started/configuration/#configure-cache-busters
+# https://gohugo.io/configuration/build/#cache-busters
[build]
[build.buildStats]
enable = true
diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html
index 8bc5b38..220b965 100644
--- a/layouts/_partials/head.html
+++ b/layouts/_partials/head.html
@@ -95,10 +95,11 @@
{{ with try (resources.GetRemote $katexCssUrl) -}}
{{ with .Err -}}
{{ errorf "Could not retrieve KaTeX css file from %s. Reason: %s." $katexCssUrl . -}}
- {{ else with.Value -}}
+ {{ else with .Value -}}
{{ $katexCssContent := strings.Replace .Content $katexFontPattern $katexFontSubstituted }}
{{ with resources.FromString (printf "css/katex%s.css" (cond hugo.IsProduction ".min" "")) $katexCssContent -}}
-
+ {{ $cssHash := . | fingerprint "sha512" -}}
+
{{ end -}}
{{ end -}}
{{ end -}}