diff --git a/src/components/Header.astro b/src/components/Header.astro index d8d6c72..fa88a6c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -45,7 +45,7 @@ const sidebar = await hasSidebar();
- {config.SEARCH_ENABLED ? : null} + {config.SEARCH_ENABLED && sidebar ? : null} {config.SHOW_THEME_TOGGLE ? : null}