From ffdf0502e2f2a44570d42aa6b4f87ceb527104f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=BD=87?= Date: Mon, 1 Dec 2025 18:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20src/layouts/MDXPost.astro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/MDXPost.astro | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/layouts/MDXPost.astro diff --git a/src/layouts/MDXPost.astro b/src/layouts/MDXPost.astro new file mode 100644 index 0000000..43590e6 --- /dev/null +++ b/src/layouts/MDXPost.astro @@ -0,0 +1,26 @@ +--- +import '../styles/global.css'; +export interface Props { + title?: string; + description?: string; +} + +const { title, description } = Astro.props; +--- + + + + + {title || '文档'} + + + + + +
+
+ +
+
+ + \ No newline at end of file