---
import "../styles/global.css";
const { title } = Astro.props;
const pageTitle = title ? title + ' - 中V档案馆' :'中V档案馆';
---

<!doctype html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>{pageTitle}</title>
    </head>
    <body class="min-h-screen flex flex-col">
        <slot />
    </body>
</html>
