Switch to Astro #4

Merged
array-in-a-matrix merged 22 commits from astro into main 2024-01-15 17:55:49 -05:00
Showing only changes of commit c604c54eda - Show all commits

View file

@ -4,7 +4,6 @@ import Header from '../components/Header.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
import { getCollection } from 'astro:content';
import FormattedDate from '../components/FormattedDate.astro';
const posts = (await getCollection('blog')).sort(
(a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()
);