--- import Grid from '~/components/blog/Grid.astro'; import { getBlogPermalink } from '~/utils/permalinks'; import { findPostsByIds } from '~/utils/blog'; export interface Props { title?: string; allPostsText?: string; allPostsLink?: string | URL; information?: string; postIds: string[]; } const { title = await Astro.slots.render('title'), allPostsText = 'View all posts', allPostsLink = getBlogPermalink(), information = await Astro.slots.render('information'), postIds = [], } = Astro.props; const posts = await findPostsByIds(postIds); ---
{ title && (

) } { allPostsText && allPostsLink && ( {allPostsText} ยป ) }

{information &&

}