Random header images

This commit is contained in:
2016-01-13 14:53:15 +00:00
parent a37b2c1e06
commit 3a8ab74479
8 changed files with 63 additions and 15 deletions

12
_plugins/implode.rb Normal file
View 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)