--- /** * Posts Archive */ import { getEmDashCollection } from "emdash"; import Base from "../../layouts/Base.astro"; import PostCard from "../../components/PostCard.astro"; const { entries: posts } = await getEmDashCollection("posts", { status: "published", }); ---

Blog

{ posts.length > 0 ? (
{posts.map((post) => ( ))}
) : (

No posts found.

) }