--- import path from "node:path"; import { Icon } from "astro-icon/components"; import I18nKey from "../i18n/i18nKey"; import { i18n } from "../i18n/translation"; import { formatDateToYYYYMMDD } from "../utils/date-utils"; import { getCategoryUrl, getTagUrl, getDir, url } from "../utils/url-utils"; import { umamiConfig } from "../config"; interface Props { class: string; published: Date; updated?: Date; tags: string[]; category: string | null; hideTagsForMobile?: boolean; hideUpdateDate?: boolean; slug?: string; } const { published, updated, tags, category, hideTagsForMobile = false, hideUpdateDate = false, slug, } = Astro.props; const className = Astro.props.class; ---