--- import { Icon } from "astro-icon/components"; import { licenseConfig, profileConfig } from "../../config"; import I18nKey from "../../i18n/i18nKey"; import { i18n } from "../../i18n/translation"; import { formatDateToYYYYMMDD } from "../../utils/date-utils"; interface Props { title: string; slug: string; pubDate: Date; class: string; } const { title, pubDate } = Astro.props; const className = Astro.props.class; const profileConf = profileConfig; const licenseConf = licenseConfig; const postUrl = decodeURIComponent(Astro.url.toString()); ---