From f45f1a96045b08d953e7f27a3ef18683dda91fe4 Mon Sep 17 00:00:00 2001 From: cdce8p <30130371+cdce8p@users.noreply.github.com> Date: Thu, 10 Dec 2020 20:53:47 +0100 Subject: [PATCH] Fix category_link filter plugin (#15875) --- plugins/category_generator.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/category_generator.rb b/plugins/category_generator.rb index 54210c7a740..b5f9e57e815 100644 --- a/plugins/category_generator.rb +++ b/plugins/category_generator.rb @@ -196,7 +196,7 @@ module Jekyll # 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. @@ -250,3 +250,5 @@ module Jekyll end end + +Liquid::Template.register_filter(Jekyll::CategoryFilter)