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

- - + +
+
+

🚀 知识库主页

+

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

+
+ + +
+