Fix tag local clash with Hanami

This commit is contained in:
2023-09-18 19:29:01 +10:00
parent 22c382c028
commit 7ee1cc3771
5 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
div class="mb-2"
span class="text-sm text-gray-600 dark:text-gray-200 leading-10"
= "Tagged: "
- tags.each do |tag|
- tags.each do |post_tag|
span
a class="p-category rounded p-1 mr-1 text-xsm u-url bg-yellow-100/60 hover:bg-yellow-200 dark:bg-yellow-400/60 dark:hover:bg-yellow-400/80 dark:text-yellow-100 dark:hover:text-yellow-100 text-gray-600" href="/tagged/#{tag.slug}"
= tag.label
a class="p-category rounded p-1 mr-1 text-xsm u-url bg-yellow-100/60 hover:bg-yellow-200 dark:bg-yellow-400/60 dark:hover:bg-yellow-400/80 dark:text-yellow-100 dark:hover:text-yellow-100 text-gray-600" href="/tagged/#{post_tag.slug}"
= post_tag.label