add tags to posts

This commit is contained in:
yuriko 🦊 2025-05-24 22:01:27 -04:00
parent 2f95117389
commit c77c97be2d
5 changed files with 26 additions and 3 deletions

View file

@ -62,6 +62,10 @@
<span>Tags</span>
</div>
@foreach ($post->tags as $tag)
<span style="color: {{ $tag->tagGroup->color }};">{{ $tag->name }}</span>
@endforeach
</div>
{{-- Main content --}}