diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 4661be6291..b838c3b7a5 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -101,12 +101,12 @@
{{- $firsttheme := true }}
{{- range $themevariants }}
{{- $themevariant := . }}
- {{- $themename := replaceRE "[-_]+" " " $themevariant }}
+ {{- $variantname := replaceRE "[-_]+" " " $themevariant }}
{{- if $firsttheme }}
{{- $firsttheme = false }}
-
+
{{- else }}
-
+
{{- end }}
{{- end }}