summaryrefslogtreecommitdiff
path: root/src/layouts/Page.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/Page.astro
parentbf4df962be338c08ae41bed94b1d60b2930fca9f (diff)
feat: rewrite with astro
Diffstat (limited to 'src/layouts/Page.astro')
-rw-r--r--src/layouts/Page.astro12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro
new file mode 100644
index 0000000..03569a0
--- /dev/null
+++ b/src/layouts/Page.astro
@@ -0,0 +1,12 @@
+---
+import Base from "@layouts/Base.astro";
+const { title, description } = Astro.props;
+---
+
+<Base title={title} description={description}>
+ <div class="container">
+ <div class="content" id="blogpost">
+ <slot />
+ </div>
+ </div>
+</Base>