diff --git a/src/components/Tag.astro b/src/components/Tag.astro
index bfb4ade..d4a963c 100644
--- a/src/components/Tag.astro
+++ b/src/components/Tag.astro
@@ -1,10 +1,10 @@
---
export interface Props {
- name: string;
+ tag: string;
size?: "sm" | "lg";
}
-const { name, size = "sm" } = Astro.props;
+const { tag, size = "sm" } = Astro.props;
---
- {name.toLowerCase()}
+ {tag}
diff --git a/src/layouts/PostDetails.astro b/src/layouts/PostDetails.astro
index 1ec670e..24e32fe 100644
--- a/src/layouts/PostDetails.astro
+++ b/src/layouts/PostDetails.astro
@@ -70,7 +70,7 @@ const layoutProps = {
- {tags.map(tag => )}
+ {tags.map(tag => )}