--- import { formatDate } from "../utils" const { title, href, cover, tags, date } = Astro.props const dateFormatted = formatDate(date) const type = tags?.[0] ?? "默认" const image = cover?.url ?? cover ?? "https://oss.nbtca.space/CA-logo.svg" const label = `${title} - ${type} - 发表时间 ${dateFormatted}`; ---