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