This commit is contained in:
SepComet
2026-05-04 21:56:20 +08:00
commit 1ab1717e64
68 changed files with 10667 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
---
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
import '../styles/global.css';
interface Props {
title?: string;
description?: string;
currentPath?: string;
}
const {
title = 'SepComet | 个人主页',
description = '公开、静态、数据驱动的个人主页',
currentPath = '/',
} = Astro.props;
---
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content={description} />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body>
<div class="page-shell">
<Header currentPath={currentPath} />
<main>
<slot />
</main>
<Footer />
</div>
</body>
</html>