1) The HbsServer can't find the layout ({{> templates/layout}}). The error page reports that it is looking for `/app/templates/templates/layout.hbs` yet if I remove the `templates` it works in the HbsServer but breaks in Vert.x!
2) In our templates we have are using the `each` helper like:
```
{{#each navigation as |nav|}}
<li class="breadcrumb-item"><a href="{{nav.path}}">{{nav.display}}</a></li>
{{/each}}
```
On the HbsServer this breaks with the following error:
```
templates/layout.hbs:77:36: found: '|'
```
I assume that the issue here is that `each` helper can't be found (but I could be wrong).
Any hints would be appreciated.
Cheers,
Brian
Brian Sam-Bodden
unread,
May 26, 2017, 9:58:50 AM5/26/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to handlebars.java
I got pass the helpers not being found just by upgrading to a higher version of the HbsServer, but the layout loading issue still remains :-( I'm using version 4.0.6 now of 'com.github.jknack:handlebars-proto'