Random header images
This commit is contained in:
12
_plugins/implode.rb
Normal file
12
_plugins/implode.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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