I have some partial parts of Haml, many of which contain patterns
.container .row .col-lg-12
When I try to abstract from ala = partial "site_section" , I get:
syntax error, unexpected keyword_end, expecting end-of-input end;end;end;end
I am using ruby โโ2.2.2.
How to edit a partial part of Haml in a partial part of Haml in Middleman?
thanks
Update This seems to be some special case regarding my partial (above). I have other partial partial partial renderings that are just fine.
Update As far as this repo is concerned, it will actually be:
_site_section:
.container .row .col-lg-12
_nested_section:
= partial "site_section" MOAR (nested) HAML
index.haml:
=partial "nested_section"
ruby templates partials haml middleman
Walrus the cat
source share