--- interface Props { title: string; authors?: string[]; affiliation?: string; published?: string; } const { title, authors = [], affiliation, published } = Astro.props as Props; --- {authors.length > 0 && ( Authors {authors.join(', ')} )} {affiliation && ( Affiliation {affiliation} )} {published && ( Published {published} )} PDF Download PDF
{authors.join(', ')}
{affiliation}
{published}
Download PDF