X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/2bac838a18b0a908e66e41814baba60b213a9468..3f47b3dfcf673cfb0d261ec4e94fa6d619b6ba7f:/ralf/_plugins/categories.rb?ds=sidebyside diff --git a/ralf/_plugins/categories.rb b/ralf/_plugins/categories.rb index 83fef6e..3e0fabe 100644 --- a/ralf/_plugins/categories.rb +++ b/ralf/_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)