correct tags

This commit is contained in:
Profile Profile
2026-03-13 20:22:35 +03:00
parent d3b8a0bb63
commit 684a7bffbf
4 changed files with 23 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ const { post, pageInfo } = Astro.props;
<div class="tags-list">
{post.tags.nodes.map((tag) => (
<a
href={`/tag/${encodeURIComponent(tag.name.replace(/\s+/g, '+'))}/`}
href={`/tag/${encodeURIComponent(tag.slug.replace(/\s+/g, '+'))}/`}
class="tag-link"
key={tag.id}
>