diff --git a/templates/media.html.ep b/templates/media.html.ep index 1331167..e282250 100644 --- a/templates/media.html.ep +++ b/templates/media.html.ep @@ -17,10 +17,10 @@ % if ($media->{tags}->@* == 0) {
None yet.
% } else { -
<%= c($media->{tags}->@*) - ->map(sub { link_to $_ => url_for("tag_show", tag_id_or_name => $_) }) - ->join(", ") %>
+
+% for my $tag ($media->{tags}->@*) { + <%= link_to $tag => url_for("tag_show", tag_id_or_name => $tag) %> +% } +
% } - -%= include "_pager";