summaryrefslogtreecommitdiff
path: root/src/layouts/Blogpost.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Blogpost.astro')
-rw-r--r--src/layouts/Blogpost.astro8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/layouts/Blogpost.astro b/src/layouts/Blogpost.astro
new file mode 100644
index 0000000..a52a7d5
--- /dev/null
+++ b/src/layouts/Blogpost.astro
@@ -0,0 +1,8 @@
+---
+import Page from "@layouts/Page.astro";
+const { title, description } = Astro.props.frontmatter;
+---
+
+<Page title={title} description={description}>
+ <slot />
+</Page>