colored tag item view
All checks were successful
Go / build (push) Successful in 12m14s

This commit is contained in:
2025-04-14 00:42:26 +02:00
parent 821f4e526f
commit d839416fdd

View File

@@ -47,11 +47,11 @@
<div class="flex mb-4">
<div class="mr-4">
<span class="font-bold text-gray-700 dark:text-gray-300">Tags:</span>
<span class="text-gray-600 dark:text-gray-300">
<p class="mt-1 text-sm text-gray-500">
{{ range .data.shopItem.Tags }}
{{ .Name }}
<a href="/tags/{{ .ID }}"><span class="bg-{{ .Color }}-100 text-{{ .Color }}-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-{{ .Color }}-900 dark:text-{{ .Color }}-300">{{ .Name }}</span></a>
{{ end }}
</span>
</p>
</div>
</div>
<!--