summaryrefslogtreecommitdiff
path: root/src/layouts/Blogpost.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-16 03:53:24 -0400
committerseth <[email protected]>2023-05-16 04:08:37 -0400
commit681cd8c1cc2904c562f9a58db3cbb657d58fb552 (patch)
tree9255f71e577fc82f079c16ff493f432ca5557284 /src/layouts/Blogpost.astro
parentbf4df962be338c08ae41bed94b1d60b2930fca9f (diff)
feat: rewrite with astro
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>