diff options
-rw-r--r-- | .themes/classic/plugins/category_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/plugins/category_generator.rb b/.themes/classic/plugins/category_generator.rb index c5dbbcd4..8fd26682 100644 --- a/.themes/classic/plugins/category_generator.rb +++ b/.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 |