diff --git a/src/components/PostList.astro b/src/components/PostList.astro
index f8ab10c..4805a3a 100644
--- a/src/components/PostList.astro
+++ b/src/components/PostList.astro
@@ -46,11 +46,9 @@ posts.map((post) => {
{post.summary}
-
-
-
-
-
+
diff --git a/src/types/post.ts b/src/types/post.ts
index 55c1fd4..f801a85 100644
--- a/src/types/post.ts
+++ b/src/types/post.ts
@@ -1,3 +1,8 @@
+type Tag = {
+ id: number
+ code: string
+ name: string
+}
export type Post = {
title: string;
summary: string;
@@ -7,6 +12,7 @@ export type Post = {
published_at: string;
view: number;
content: string;
+ tags: Tag[]
}
export type CategoriesStats = {
@@ -14,3 +20,4 @@ export type CategoriesStats = {
name: string;
post_count: number;
}
+