From 648f2a8e2ab5010dce765ee6e1789629ed9c8eb2 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Sun, 21 Jul 2024 12:38:30 +0200 Subject: [PATCH] feat: new template page --- template-page.astro | 65 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 template-page.astro diff --git a/template-page.astro b/template-page.astro new file mode 100644 index 0000000..bf4576d --- /dev/null +++ b/template-page.astro @@ -0,0 +1,65 @@ +--- +import Layout from "../layouts/Layout.astro"; +import Footer from "../components/Footer.astro"; +import Posts from "../components/Posts.astro"; + +const posts = await Astro.glob("./now/and-then/posts/*.astro"); +const page = { + title: 'New Page', + description: 'A template for a new page' +} +--- + + +
+

{{page.title}}

+

+ Published on the +

+ +

{{page.description}}

+ +
+
+
+ +