mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-02 23:50:27 +03:00
27 lines
525 B
Plaintext
27 lines
525 B
Plaintext
---
|
|
import Analytics from "../components/Analytics.astro";
|
|
import Head from "../components/Head.astro";
|
|
import "../scss/global.scss";
|
|
|
|
type Props = {
|
|
readonly description?: string;
|
|
readonly title?: string;
|
|
};
|
|
|
|
const { description, title } = Astro.props;
|
|
---
|
|
|
|
<html lang="ru">
|
|
<Head
|
|
description={description ?? import.meta.env.DEFAULT_DESCRIPTION}
|
|
title={title ?? import.meta.env.DEFAULT_TITLE}
|
|
/>
|
|
|
|
<body>
|
|
<main>
|
|
<slot />
|
|
</main>
|
|
<Analytics title={title ?? import.meta.env.DEFAULT_TITLE} />
|
|
</body>
|
|
</html>
|