fix: show correct featured works

This commit is contained in:
eggy 2024-02-29 18:38:15 -05:00
parent 69874b977c
commit 2ad9e41c8b

View File

@ -22,7 +22,10 @@ const descText =
class="break-words max-w-full rounded-lg p-4 shadow-md border border-2 border-gray-300 dark:border-gray-600" class="break-words max-w-full rounded-lg p-4 shadow-md border border-2 border-gray-300 dark:border-gray-600"
> >
<h3 class="m-0 flex items-center gap-1.5"> <h3 class="m-0 flex items-center gap-1.5">
<a :href="`/tags/${props.type}/featured`" v-if="highlighttags?.includes('featured')"> <a
:href="`/tags/${props.type}/featured`"
v-if="post.tags.includes('featured')"
>
<IconStar class="fill-yellow-500 outline-none" /> <IconStar class="fill-yellow-500 outline-none" />
</a> </a>
<a <a