Replace implode plugin by join filter
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
# adapted from
|
||||
# - https://github.com/kenhkelly/kenhkelly.us/blob/master/_plugins/implode.rb
|
||||
|
||||
module Jekyll
|
||||
module Implode
|
||||
def implode(text)
|
||||
"['" + text.join("', '") + "']"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_filter(Jekyll::Implode)
|
||||
Reference in New Issue
Block a user