--- import type { CollectionEntry } from 'astro:content'; import EntryThumbnail from './EntryThumbnail.astro'; import TagList from './TagList.astro'; import { articlePath, formatDate, formatDateShort } from '../lib/site'; interface Props { posts: CollectionEntry<'posts'>[]; showYear?: boolean; currentTag?: string; } const { posts, showYear = true, currentTag } = Astro.props; ---
    { posts.map((post) => { const href = articlePath(post); return (
  1. ); }) }