samvincent / jekyll-haml

HAML html converter for Jekyll
MIT License
88 stars 40 forks source link

Fixed an error with Jekyll 2.3.0 (and probably with prior versions) that crashes when building the site #12

Closed kalvinarts closed 8 years ago

kalvinarts commented 9 years ago

I was getting this error:

jekyll 2.3.0 | Error:  undefined local variable or method `path' for #<Jekyll::Layout:0x007fda29134420>

Fixed by correctly redeclaring the Layout class inheriting by the original one.

@yaegashi and @felixkiss solutions are integrated as well.

reivaxm commented 8 years ago

It fix also the bug with the last version of jekyll jekyll 3.0.0.pre.beta8 | Error: no implicit conversion of nil into String

JangoSteve commented 8 years ago

:+1: fixes same error for me as @reivaxm pointed out for jekyll 3.0.1.

jekyll 3.0.1 | Error:  no implicit conversion of nil into String
deathbeam commented 8 years ago

Same error happening in latest jekyll to me too.

samvincent commented 8 years ago

Thanks @kalvinarts, Merged and released as 0.1.3