summaryrefslogtreecommitdiff
path: root/src/layouts/Page.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Page.astro')
-rw-r--r--src/layouts/Page.astro17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro
new file mode 100644
index 0000000..4e5f3bb
--- /dev/null
+++ b/src/layouts/Page.astro
@@ -0,0 +1,17 @@
+---
+import BaseHead from "../components/BaseHead.astro";
+
+const { title, description } = Astro.props;
+---
+
+<!DOCTYPE html>
+<html lang="en-GB">
+ <head>
+ <BaseHead title={title} description={description} />
+ </head>
+
+ <body>
+ <slot />
+ </body>
+</html>
+