--- import { buttonVariants } from '@/components/ui/button' import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from '@/components/ui/card' import BlogCard from '@components/BlogCard.astro' import Container from '@components/Container.astro' import Link from '@components/Link.astro' import { SITE } from '@consts' import Layout from '@layouts/Layout.astro' import { getCollection } from 'astro:content' const blog = (await getCollection('blog')) .filter((post) => !post.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()) .slice(0, SITE.NUM_POSTS_ON_HOMEPAGE) ---
er·u·dite /ˈer(y)əˌdīt/ • adjective

astro-erudite is an opinionated, no-frills static blogging template built with Astro. To learn more about why this template exists, read The State of Static Blogs in 2024.

Latest posts

    { blog.map((post) => (
  • )) }
See all posts