I have some Haml partials, many of which contain the boilerplate
.container
.row
.col-lg-12
When I try to abstract that out ala = partial "site_section"
, I get:
syntax error, unexpected keyword_end, expecting end-of-input end;end;end;end
I'm using ruby 2.2.2.
How do I render a Haml partial within a Haml partial in Middleman?
Thanks
update This is apparently some kind of special case dealing with my partial (above). I have other partials-within-partials rendering just fine.
update With respect to this this repo, the layout would actually be:
_site_section:
.container
.row
.col-lg-12
_nested_section:
= partial "site_section"
MOAR (nested) HAML
index.haml:
=partial "nested_section"