From e2b546fc49a92de91c5676fd674cb6df135a8405 Mon Sep 17 00:00:00 2001 From: Oliver Bryan <04oliverbryan@gmail.com> Date: Wed, 29 Oct 2025 00:34:52 +0000 Subject: [PATCH] only provide visible projects as options --- src/components/CommandPalette.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CommandPalette.astro b/src/components/CommandPalette.astro index 96a1405d..4f67a6b8 100644 --- a/src/components/CommandPalette.astro +++ b/src/components/CommandPalette.astro @@ -11,7 +11,7 @@ Object.values( import.meta.glob("../pages/projects/*.astro", { eager: true }) ).forEach((module) => { const metadata = module.metadata as ProjectMetadata; - if (metadata) { + if (metadata && !metadata.hidden) { options.push({ name: `${metadata.title}`, location: `/projects/${metadata.slug}`,