I tried to figure out the cause by reading the sourcecode.
Because caller of the helpers seems in mustache.js, I gave up and switch template engine to punch-engine-handlebars.
Block helper works with punch-engine-handlebars.
I'm not sure this problem is just on me or not.
Tag helper works, but block helper doesn't work.
What I did 1.
To make sure, I did
punch setup foo; punch s
aside from my working project and opend in a browser.a part of _header.mustache
a part of HTML rendered
What I did 2.
I have used https://github.com/laktek/punch-current-page-helper in my project has also the broblem. When I added
console.log(text)
before https://github.com/laktek/punch-current-page-helper/blob/05160af5231291468c80052076d68c46502e810d/lib/current_page_helper.js#L17 , I got empty intext
.I tried to figure out the cause by reading the sourcecode. Because caller of the helpers seems in mustache.js, I gave up and switch template engine to punch-engine-handlebars. Block helper works with punch-engine-handlebars. I'm not sure this problem is just on me or not.
My env.