X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/8a8ac5c408b2e2012d6c882e1f708342eec7f4be..ef8c8db0c4e5e836b8e5c8126e38299ae622e4d3:/personal/_plugins/categories.rb?ds=sidebyside 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)