From e2929fa9b050e8cc6ac6905ba7f1cf778e53aa0d Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 12 Nov 2018 14:48:35 +0100 Subject: [PATCH] fix CategoryFilter --- ralf/_plugins/categories.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.30.2