aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/BaseLayout.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-12 01:03:55 +0300
committerValentin Popov <valentin@popov.link>2024-09-12 01:03:55 +0300
commitc89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e (patch)
tree9c2a9ab17662a1b9c9539c9246b19b82f46d47f8 /src/layouts/BaseLayout.astro
parent97aa90a605602b9385ba734e2bd9d155aed954e8 (diff)
downloadpopov.link-c89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e.tar.xz
popov.link-c89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e.zip
Update default title and description
Diffstat (limited to 'src/layouts/BaseLayout.astro')
-rw-r--r--src/layouts/BaseLayout.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro
index 5a73ac6..5cbaf5c 100644
--- a/src/layouts/BaseLayout.astro
+++ b/src/layouts/BaseLayout.astro
@@ -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 />