Browse Source

fixed unclosed link on category tag

unreleased_contents
Brandon Mathis 13 years ago
parent
commit
983dd84a4b
  1. 2
      .themes/classic/plugins/category_generator.rb

2
.themes/classic/plugins/category_generator.rb

@ -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

Loading…
Cancel
Save