From f65fa1659bbd2052f82966f4608b85fe9378c339 Mon Sep 17 00:00:00 2001 From: Liron Abutbul <110838700+ladunjexa@users.noreply.github.com> Date: Fri, 9 Jun 2023 08:01:41 +0300 Subject: [PATCH] Update Tags.astro --- src/components/blog/Tags.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/blog/Tags.astro b/src/components/blog/Tags.astro index a91105f..b00b108 100644 --- a/src/components/blog/Tags.astro +++ b/src/components/blog/Tags.astro @@ -8,9 +8,10 @@ export interface Props { tags: Post['tags']; class?: string; title?: string | undefined; + isCategory?: boolean; } -const { tags, class: className = 'text-sm', title = undefined } = Astro.props; +const { tags, class: className = 'text-sm', title = undefined, isCategory = false } = Astro.props; --- { @@ -26,7 +27,7 @@ const { tags, class: className = 'text-sm', title = undefined } = Astro.props; tag ) : ( {tag}