Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

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

View transform_layouts.rb
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

replace

self.transform

with

self.content = self.transform
self.content

on jekyll 2.3+
https://github.com/jekyll/jekyll/issues/2961#event-174212964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.