diff --git a/.themes/classic/plugins/category_generator.rb b/.themes/classic/plugins/category_generator.rb index 8fd2668..c2e9a46 100644 --- a/.themes/classic/plugins/category_generator.rb +++ b/.themes/classic/plugins/category_generator.rb @@ -129,8 +129,10 @@ module Jekyll # Returns string # def category_links(categories) + dir = @context.registers[:site].config['category_dir'] + root_url = @context.registers[:site].config['root'] categories = categories.sort!.map do |item| - "#{item}" + "#{item}" end case categories.length diff --git a/.themes/classic/source/_includes/archive_post.html b/.themes/classic/source/_includes/archive_post.html index cd55c21..1e291c1 100644 --- a/.themes/classic/source/_includes/archive_post.html +++ b/.themes/classic/source/_includes/archive_post.html @@ -1,5 +1,5 @@ {% capture category %}{{ post.categories | size }}{% endcapture %} -