From 7eff3fde5720eb23449e2f8c8ea0b8218efe4dde Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 4 Sep 2024 21:16:37 +0000 Subject: Initial Astro project --- src/pages/index.astro | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/pages/index.astro (limited to 'src/pages/index.astro') diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..bc98c67 --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,18 @@ +--- +import Layout from "../layouts/PageLayout.astro"; +import { getCollection } from "astro:content"; + +const posts = await getCollection("blog"); +--- + + + + -- cgit v1.2.3