From c89ed0f7f9dcf14d1d96ad0d13ad59f5b542396e Mon Sep 17 00:00:00 2001
From: Valentin Popov
Date: Wed, 11 Sep 2024 22:03:55 +0000
Subject: Update default title and description
---
src/layouts/BaseLayout.astro | 4 +++-
src/layouts/PageLayout.astro | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
(limited to 'src/layouts')
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;
---
-
+
diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro
index 3730334..eff37fb 100644
--- a/src/layouts/PageLayout.astro
+++ b/src/layouts/PageLayout.astro
@@ -1,7 +1,9 @@
---
import BaseLayout from "./BaseLayout.astro";
+
+const { title, description } = Astro.props;
---
-
+
--
cgit v1.2.3