feat: setup content layer and base layout

This commit is contained in:
2026-04-27 13:28:30 +08:00
parent fa05359e3f
commit d407e4ae49
4 changed files with 46 additions and 9 deletions
+8 -8
View File
@@ -3,12 +3,12 @@ import '../styles/global.css';
const { title } = Astro.props;
---
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<title>{title}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css">
</head>
<body class="bg-white dark:bg-gray-900 text-gray-900 min-h-screen p-8">
<slot />
</body>
<head>
<meta charset="utf-8" />
<title>{title}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css">
</head>
<body class="bg-white dark:bg-gray-900 text-gray-900 min-h-screen p-8">
<slot />
</body>
</html>