correct tags
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user