diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 445f778..1374c0f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -44,7 +44,7 @@
{{ $dark_icon := "theme.png" }} {{ if site.Params.monoDarkIcon }} {{
- $dark_icon := "theme.svg" }} {{ end }}
+ $dark_icon = "theme.svg" }} {{ end }}
{{ $avatar_url := $.Scratch.Get "avatar_url" }}