--- import Base from '../../layouts/Base.astro'; const posts = await Astro.glob('./*.mdx'); posts.sort((a, b) => new Date(b.frontmatter.date).getTime() - new Date(a.frontmatter.date).getTime()); ---

Blog

Tutorials and news from leeworks.dev

{posts.map(post => (

{post.frontmatter.title}

{post.frontmatter.date}

{post.frontmatter.description}

))} {posts.length === 0 &&

No posts yet.

}