Skip to content

Commit 075cd8e

Browse files
committed
Merge pull request #18 from sspreitzer/master
Fix loss of content in layout conversion
2 parents 65cc04c + 548ee2d commit 075cd8e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.4 2016-06-01
2+
### minor enhancements
3+
* Fixed loss of content in layout conversion - ([@sspreitzer][])
4+
15
## 0.1.3 2015-12-08
26
### minor enhancements
37
* Fixed an error with Jekyll 2.3.0 (and probably with prior versions) that crashes when building the site - ([@kalvinarts][])

lib/jekyll-haml/ext/convertible.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Layout
55

66
def initialize(*args)
77
old_initialize(*args)
8-
self.transform
8+
self.content = self.transform
99
end
1010
end
1111
end

lib/jekyll-haml/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Jekyll
22
module Haml
3-
VERSION = "0.1.3"
3+
VERSION = "0.1.4"
44
end
55
end

0 commit comments

Comments
 (0)