--- import BaseHead from '../../components/BaseHead.astro'; import Footer from '../../components/Footer.astro'; import Header from '../../components/Header.astro'; import { SITE_DESCRIPTION, SITE_TITLE } from '../../consts'; import { getCollection } from 'astro:content'; const posts = (await getCollection('blog')) .filter((p) => !(((p.data as any).draft) ?? false)) .sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); ---

Blog

Lab notes, guides, and lessons learned.

    {posts.map((post) => (
  • {post.data.title}
    {post.data.pubDate.toLocaleDateString()} {post.data.description ?

    {post.data.description}

    : null}
  • ))}