diff --git a/layouts/partials/functions/warnings.html b/layouts/partials/functions/warnings.html index d7cb6178..ce8c2914 100644 --- a/layouts/partials/functions/warnings.html +++ b/layouts/partials/functions/warnings.html @@ -7,3 +7,6 @@ {{ if ne .Params.logo nil }} {{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }} {{ end }} +{{ if eq .Params.header.logo .Params.header.logo_dark }} + {{- warnf "[CONGO] Interactions with a single resource via multiple distinct resource handles can be problematic. It is recommended to only declare `header.logo_dark` when it is distinct from `header.logo`." }} +{{- end }} \ No newline at end of file diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index ee119168..41261ed6 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -5,17 +5,29 @@ {{- if $logo_dark }} {{ .Site.Title }} {{- end}}