From: Ralf Jung Date: Mon, 12 Nov 2018 13:48:35 +0000 (+0100) Subject: fix CategoryFilter X-Git-Url: https://git.ralfj.de/web.git/commitdiff_plain/ec19ab1423023cba7d3a02a779ea52b660adc52d?ds=sidebyside fix CategoryFilter --- diff --git a/personal/_plugins/categories.rb b/personal/_plugins/categories.rb index 83fef6e..3e0fabe 100644 --- a/personal/_plugins/categories.rb +++ b/personal/_plugins/categories.rb @@ -36,7 +36,7 @@ module Jekyll end # Adds some extra filters used during the category creation process. - module Filters + module CategoryFilter # Outputs a list of categories as comma-separated links. This is used # to output the category list for each post on a category page. @@ -62,3 +62,5 @@ module Jekyll end end end + +Liquid::Template.register_filter(Jekyll::CategoryFilter)