From e356212737cda82a34fc029df08e2434898574da Mon Sep 17 00:00:00 2001 From: lsy Date: Fri, 28 Mar 2025 19:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/header.astro | 288 +++++++++++++++++++++++++++++++++++- src/pages/api/search.ts | 38 +++++ 2 files changed, 325 insertions(+), 1 deletion(-) create mode 100644 src/pages/api/search.ts diff --git a/src/components/header.astro b/src/components/header.astro index a694628..712b199 100644 --- a/src/components/header.astro +++ b/src/components/header.astro @@ -25,6 +25,30 @@ const normalizedPath = currentPath.endsWith('/') ? currentPath.slice(0, -1) : cu