0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Update default title and description

This commit is contained in:
2024-09-11 22:03:55 +00:00
parent 97aa90a605
commit c89ed0f7f9
8 changed files with 29 additions and 14 deletions

View File

@ -1,10 +1,12 @@
---
import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
const { title, description } = Astro.props;
---
<html>
<Head />
<Head title={title} description={description} />
<body>
<Header />

View File

@ -1,7 +1,9 @@
---
import BaseLayout from "./BaseLayout.astro";
const { title, description } = Astro.props;
---
<BaseLayout>
<BaseLayout title={title} description={description}>
<slot />
</BaseLayout>