--- import { formatDate, getCoverImage } from "../utils" const { title, href, cover, tags, date } = Astro.props const dateFormatted = formatDate(date) const type = tags?.[0] ?? "默认" const image = getCoverImage(cover) const label = `${title} - ${type} - 发表时间 ${dateFormatted}`; ---