We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 261f7dc commit 65cc04cCopy full SHA for 65cc04c
lib/jekyll-haml/ext/convertible.rb
@@ -1,13 +1,11 @@
1
# Re-open Layout class to convert our HAML Layout content.
2
-# This solution redeclares the Layout class in a way that
3
-# don't risks Jekyll API updates anymore.
4
-
5
module Jekyll
6
- class << Layout
+ class Layout
7
alias old_initialize initialize
+
8
def initialize(*args)
9
old_initialize(*args)
10
- self.content = self.transform
+ self.transform
11
end
12
13
0 commit comments