fixed unclosed link on category tag

This commit is contained in:
Brandon Mathis 2011-07-12 08:47:40 -04:00
parent 866c7d8b62
commit 983dd84a4b

View File

@ -130,7 +130,7 @@ module Jekyll
#
def category_links(categories)
categories = categories.sort!.map do |item|
"<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}'/>#{item}</a>"
"<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}/'>#{item}</a>"
end
case categories.length