From 0be314edbeb479ef04919b6c2bdda4b09e3f5412 Mon Sep 17 00:00:00 2001 From: Thuan Bui <9248622+10h30@users.noreply.github.com> Date: Sun, 15 Mar 2026 10:55:17 +0700 Subject: [PATCH] feat: add tag pages and integrate tags component in post layout --- src/components/ui/Tags.astro | 2 +- src/pages/[...slug].astro | 19 ++++++++++++++++++- src/pages/{tags => tag}/[tag].astro | 0 3 files changed, 19 insertions(+), 2 deletions(-) rename src/pages/{tags => tag}/[tag].astro (100%) diff --git a/src/components/ui/Tags.astro b/src/components/ui/Tags.astro index ac564a9..6432375 100644 --- a/src/components/ui/Tags.astro +++ b/src/components/ui/Tags.astro @@ -13,7 +13,7 @@ const { tags, class: className = "text-sm" } = Astro.props; {tags.map((tag) => (
{formattedDate} • {author}
{readingTime && ` • ${readingTime}`}
@@ -72,6 +82,13 @@ const metadata = {
>