projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
242ee8a
)
fix CategoryFilter
author
Ralf Jung
<post@ralfj.de>
Mon, 12 Nov 2018 13:48:35 +0000
(14:48 +0100)
committer
Ralf Jung
<post@ralfj.de>
Mon, 12 Nov 2018 13:48:35 +0000
(14:48 +0100)
personal/_plugins/categories.rb
patch
|
blob
|
history
diff --git
a/personal/_plugins/categories.rb
b/personal/_plugins/categories.rb
index 83fef6e3625fef4227a2bd832da23c1349aa5776..3e0fabec3e192b54829c645455b1f4c806376815 100644
(file)
--- 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.
end
# Adds some extra filters used during the category creation process.
- module
Filters
+ module
CategoryFilter
# Outputs a list of categories as comma-separated <a> links. This is used
# to output the category list for each post on a category page.
# Outputs a list of categories as comma-separated <a> 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
end
end
end
+
+Liquid::Template.register_filter(Jekyll::CategoryFilter)