feat: separate tags with and without spaces

with spaces are non-clickable
This commit is contained in:
eggy committed 2023-05-24 12:46:44 -04:00
1 parent 4502c819c3
commit 74f7bc1002
6 files changed
+26 -23

No files matched your search

+2 -3
View File
@@ -37,9 +37,8 @@ const captionText =
v-for="(tag, index) in doc.tags"
:dest="`/tags/${type}/${tag}`"
:key="index"
>
{{ tag }}
</Tag>
:name="tag"
/>
</div>
<ContentRenderer :value="doc" tag="article" class="pt-0 w-full">
<template #empty>
+2 -3
View File
@@ -30,9 +30,8 @@ const tags = new Set(
:dest="`/tags/blog/${tag}`"
v-for="(tag, index) in tags"
:key="index"
>
{{ tag }}
</Tag>
:name="tag"
/>
</div>
<PostPreviewCard
v-for="(post, index) in docs"
+2 -3
View File
@@ -30,9 +30,8 @@ const tags = new Set(
:dest="`/tags/stories/${tag}`"
v-for="(tag, index) in tags"
:key="index"
>
{{ tag }}
</Tag>
:name="tag"
/>
</div>
<PostPreviewCard
v-for="(story, index) in docs"