public
Last active

Jekyll plugin to have layouts transformed by Converters as well, taken from https://github.com/mojombo/jekyll/pull/351

  • Download Gist
transform_layouts.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module Jekyll
 
class Layout
 
alias old_initialize initialize
 
def initialize(*args)
old_initialize(*args)
self.transform
end
 
end
 
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.