修改配置文件

This commit is contained in:
2026-06-18 21:59:07 +08:00 Unverified
parent fc76f9949f
commit ed2ef30d22
23 changed files with 270 additions and 137 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
---
import { siteConfig } from '../../site.config.mjs';
interface Props {
title: string;
subtitle?: string;
@@ -8,7 +10,7 @@ const { title, subtitle } = Astro.props;
---
<header class="page-header-card">
<p class="page-header-eyebrow">Bi's Blog</p>
<p class="page-header-eyebrow">{siteConfig.site.name}</p>
<h1>{title}</h1>
{subtitle && <p class="page-header-subtitle">{subtitle}</p>}
</header>