Refactor Astro components and layouts

This commit is contained in:
2024-09-12 16:36:57 +00:00
parent 0b57b888ca
commit 3376c53b2e
7 changed files with 21 additions and 72 deletions

View File

@@ -1,7 +1,7 @@
---
import { getCollection } from "astro:content";
import Element from "../components/PostElement.astro";
import Layout from "../layouts/PageLayout.astro";
import Layout from "../layouts/BaseLayout.astro";
const posts = await getCollection("blog");
---