--- interface Props { video?: string; attachments?: { label: string; file: string }[]; } const { video, attachments = [] } = Astro.props; --- {video &&
下载视频 ↗
} {attachments.length > 0 && }