✨ Post tag & category filtered page
This commit is contained in:
@@ -27,7 +27,10 @@
|
||||
</article>
|
||||
|
||||
<v-card v-if="post.body?.attachments?.length > 0" class="mb-5">
|
||||
<attachment-carousel :no-clickable-attachment="props.noClickableAttachment" :attachments="post.body?.attachments" />
|
||||
<attachment-carousel
|
||||
:no-clickable-attachment="props.noClickableAttachment"
|
||||
:attachments="post.body?.attachments"
|
||||
/>
|
||||
</v-card>
|
||||
|
||||
<div class="text-sm flex flex-col">
|
||||
@@ -45,8 +48,18 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div v-if="post.tags?.length > 0" class="text-xs text-grey flex flex-row gap-1 mt-3">
|
||||
<span v-for="tag in post.tags">#{{ tag.alias }}</span>
|
||||
<div
|
||||
v-if="post.tags?.length > 0"
|
||||
class="text-xs text-grey flex flex-row gap-1 mt-3"
|
||||
>
|
||||
<nuxt-link
|
||||
v-for="tag in post.tags"
|
||||
:to="`/posts/tags/${tag.alias}`"
|
||||
class="hover:underline hover:underline-dotted"
|
||||
@click.stop
|
||||
>
|
||||
#{{ tag.alias }}
|
||||
</nuxt-link>
|
||||
</div>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
Reference in New Issue
Block a user