diff --git a/app/templates/tags/index.html.slim b/app/templates/tags/index.html.slim new file mode 100644 index 0000000..397d206 --- /dev/null +++ b/app/templates/tags/index.html.slim @@ -0,0 +1,13 @@ +div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200" + h1 Tags + + - tag_groups.each do |group, tags| + div + h3 class="text-xl mt-6 mb-2 font-bold text-gray-800 dark:text-gray-200" = group.upcase + + - tags.each do |tag| + span class="inline-block mb-2" + a class="p-category no-underline rounded p-1 mr-1 text-xsm u-url bg-yellow-100/60 hover:bg-yellow-200 dark:bg-yellow-400 dark:hover:bg-yellow-400/80 dark:text-yellow-800 dark:hover:text-yellow-100 text-gray-600" href="/tagged/#{tag.slug}" + = tag.label +div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" +