From 24b1b5b2ec86f57a8c20dfec469b3e3561da4585 Mon Sep 17 00:00:00 2001 From: "aitor c. urrutia aranburu" Date: Thu, 12 Nov 2026 18:06:41 +0100 Subject: [PATCH] fix: tag-ak ongi jartzen ditu --- src/components/Tags.astro | 30 ++++++++++++++++++++++++++---- src/pages/404.astro | 2 +- src/pages/index.astro | 3 ++- src/pages/post/index.astro | 2 +- src/style/global.css | 16 ---------------- 5 files changed, 30 insertions(+), 23 deletions(-) diff --git a/src/components/Tags.astro b/src/components/Tags.astro index 30fb6c5..65bfd3e 100644 --- a/src/components/Tags.astro +++ b/src/components/Tags.astro @@ -1,14 +1,13 @@ --- interface Props { tags: string[]; - all?: boolean; + centered?: boolean; } -const { tags, all } = Astro.props; +const { tags, centered } = Astro.props; --- -{all &&

Ikusi postak etiketaren arabera

} -
+
{ tags && tags.map((tag) => ( @@ -21,3 +20,26 @@ const { tags, all } = Astro.props; )) }
+ + diff --git a/src/pages/404.astro b/src/pages/404.astro index 3fad6c5..e9e3586 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -22,7 +22,7 @@ const tags = getTags(posts);
404: Ez da orria aurkitu - +