import Link from '@/components/Link'; import Tag from '@/components/Tag'; import siteMetadata from '@/data/siteMetadata'; import { formatDate } from 'pliny/utils/formatDate'; import NewsletterForm from 'pliny/ui/NewsletterForm'; const MAX_DISPLAY = 5; export default function Home({ posts }) { return ( <>

Latest

{siteMetadata.description}

{posts.length > MAX_DISPLAY && (
All Posts →
)} {siteMetadata.newsletter?.provider && (
)} ); }