--- import { getCollection } from 'astro:content'; import PageShell from '@/components/layout/PageShell.astro'; import Card from '@/components/primitives/Card.astro'; import Container from '@/components/primitives/Container.astro'; import Section from '@/components/primitives/Section.astro'; import SectionHeader from '@/components/primitives/SectionHeader.astro'; import CTASection from '@/components/sections/CTASection.astro'; import PageHero from '@/components/sections/PageHero.astro'; import { changelogHero, changelogSeo } from '@/content/pages/changelog'; const formatter = new Intl.DateTimeFormat('en', { dateStyle: 'long' }); const entries = (await getCollection('changelog')) .filter((entry) => entry.data.draft !== true) .sort((left, right) => right.data.publishedAt.valueOf() - left.data.publishedAt.valueOf()); ---
{entries.map((entry) => (

{formatter.format(entry.data.publishedAt)}

{entry.data.title}

{entry.data.description}

))}