- {{ partial "language-switch" (dict "context" $context "grow" true) }}
- {{ partial "theme-toggle" (dict "hideLabel" true) }}
+
+ {{- with site.IsMultiLingual }}
+ {{ partial "language-switch" (dict "context" $context "grow" true) }}
+ {{ partial "theme-toggle" (dict "hideLabel" true) }}
+ {{ else }}
+
+ {{ partial "theme-toggle" }}
+
+ {{ end -}}
diff --git a/layouts/shortcodes/cards.html b/layouts/shortcodes/cards.html
index ad44f7d..3b9e5fd 100644
--- a/layouts/shortcodes/cards.html
+++ b/layouts/shortcodes/cards.html
@@ -1,3 +1,5 @@
-