Created
November 15, 2016 14:05
-
-
Save simlrh/2677563ef082907de59fce4f7cef7d93 to your computer and use it in GitHub Desktop.
Use Liquid's new array concatenation in Jekyll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
module ConcatFilter | |
def concat(one, two) | |
one.concat(two) | |
end | |
end | |
end | |
Liquid::Template.register_filter(Jekyll::ConcatFilter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment