handlebars.java icon indicating copy to clipboard operation
handlebars.java copied to clipboard

Referencing nested partials in different folder behavior is different between JS and Java

Open willatwork opened this issue 8 years ago • 0 comments

If I have the following templates:

home/index.hbs

{{> ../common/header}}

common/header.hbs

{{> logo}}

common/logo.hbs

blah blah blah...

In handlebars.js, the header partial will successfully include the logo template that is in the same folder. In handlebars.java, the templateLoader will look for logo in the root context (not sure if I'm using the right terminology, basically the root prefix).

willatwork avatar Nov 09 '16 00:11 willatwork