修改配置文件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user