diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 98ab662..9fed977 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -24,7 +24,7 @@
{{- template "_internal/twitter_cards.html" . -}}
{{ if and (isset .Site.Params "social") (.Site.Params.useCDN | default false) -}}
- {{- else if (isset .Site.Params "social") -}}
+ {{- else if or (isset .Site.Params "social") (eq .Site.Params.mode "toggle") -}}
{{ end }}
{{ if .Site.Params.useCDN | default false -}}