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