all repos — h3rald @ 0d9c6782d7f5f221d6eeac23c1173b4069522ea8

The sources of https://h3rald.com

Added trailing slash to tag links in archives.
h3rald h3rald@h3rald.com
Thu, 29 Oct 2009 11:46:42 +0100
commit

0d9c6782d7f5f221d6eeac23c1173b4069522ea8

parent

dd60533a72941afee3bf203fc42cdf90a1bde294

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M lib/helpers.rblib/helpers.rb

@@ -22,7 +22,7 @@ article.attributes[:tags].map{|t| %{<a class="tag" href="/tags/#{t}/">#{t}</a>}}.join " &middot; "

end def tag_link_with_count(tag, count) - %{#{link_for_tag(tag, '/tags/')} (#{count})} + %{#{link_for_tag(tag+'/', '/tags/')} (#{count})} end def sorted_site_tags