--- import { getEntry } from 'astro:content'; const contributors = Astro.props.entry.data.contributors ?? []; const { lang } = Astro.props; const { data } = await getEntry('i18n', lang); --- {contributors.length === 0 ? null :
{data['contributor.subtitle']}