backend: implement /tags and /tag/:tag_id_or_name

This commit is contained in:
Lucas 2023-03-08 20:44:54 +00:00
parent ff017f924b
commit 02c7c3c0db
4 changed files with 71 additions and 0 deletions

7
templates/tags.html.ep Normal file
View file

@ -0,0 +1,7 @@
% layout "main";
<p class="text-center">
% for my $t (@$tags) {
<%= link_to "$t->{name} ($t->{count})" => $t->{uri} %>
% }
</p>