diff --git a/src/components/PostMeta.astro b/src/components/PostMeta.astro
index 488e85e..2e8070e 100644
--- a/src/components/PostMeta.astro
+++ b/src/components/PostMeta.astro
@@ -2,17 +2,19 @@
import { Icon } from "astro-icon/components";
import I18nKey from "../i18n/i18nKey";
import { i18n } from "../i18n/translation";
+import { getDir, url } from "../utils/url-utils";
import { formatDateToYYYYMMDD } from "../utils/date-utils";
-import { getCategoryUrl, getTagUrl } from "../utils/url-utils";
+import { umamiConfig } from "../config";
interface Props {
class: string;
published: Date;
updated?: Date;
tags: string[];
- category: string | null;
+ category: string;
hideTagsForMobile?: boolean;
hideUpdateDate?: boolean;
+ slug?: string;
}
const {
published,
@@ -21,6 +23,7 @@ const {
category,
hideTagsForMobile = false,
hideUpdateDate = false,
+ slug,
} = Astro.props;
const className = Astro.props.class;
---
@@ -53,7 +56,7 @@ const className = Astro.props.class;