This commit is contained in:
nelle 2024-07-04 07:12:31 -06:00
parent 3f63dfc512
commit 4bbeb86308

View file

@ -1,14 +1,8 @@
---
import BaseHead from "../../components/Head.astro";
import Header from "../../components/Header.astro";
import Footer from "../../components/Footer.astro";
import BlogCard from "../../components/Card-Blog.astro";
import Card from "../../components/Card.astro"
import Layout from "../../layouts/Layout.astro";
import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts";
import { getCollection } from "astro:content";
import FormattedDate from "../../components/FormattedDate.astro";
import type { setErrorMap } from "astro/zod";
const posts = (await getCollection("blog")).sort(
(a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()