From d267aa97e49921a400e35163188cfbbf5bcb8044 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Tue, 28 Oct 2025 14:18:54 +0100 Subject: [PATCH] disable search when only one page --- src/components/Header.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}
-- 2.51.2