From b50b87a75f6a9c2bd413c3789d76005c6590f0c7 Mon Sep 17 00:00:00 2001 From: kennethcheng Date: Mon, 27 Apr 2026 14:29:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=B9=B6=E5=8A=A8=E6=80=81=E6=B8=B2=E6=9F=93?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=BD=91=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.astro | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 561196b..3f0d86d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,17 +1,26 @@ --- +import { getCollection } from 'astro:content'; +import BaseLayout from '../layouts/BaseLayout.astro'; +const docs = await getCollection('docs'); --- - - - - - - - - - Astro - - -

Astro

- - + +
+
+

🚀 知识库主页

+

请从左侧导航栏或下方卡片中选择文档开始阅读。

+
+ + +
+