shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.

Home Page:http://npm.im/handlebars-layouts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change of behaviour of for inheritance with 2.0

Florian-R opened this issue · comments

Since the new release, templates inheriting template inheriting a top level template doesn't seem to be aware of the top level blocks. (sorry, i can't figure a way to articulate this cleany).

To better illustrate this, see this bin for v1.1.0 and this one with current master

A quick glance at the history let me think this change was introduced by 04ade65.
I'm not sure this behavior is intended or not. Let me know, and i'll try to dig further in the code.

Good catch! Certainly not intended. I'll take a look tonight.

Found the problem. Released fix as v2.0.2.

Wow that was quick! Many thanks.