Hi there,
I'm unsure as to how I go about using the
Standard Template Helpers (in this case 'getFilesAtPath') when using a template engine other than eco.
Here is the example from the Quick Start guide on the DocPad site that I would like to achieve using Mustache:
<% for post in @getFilesAtPath("posts").toJSON(): %>
<a href="<%= post.url %>"><%= post.title %></a><br/>
<% end %>
In mustache I can't see a way of getting the call to the template helper into the curly braces. This doesn't work:
{{#getFilesAtPath("posts")}}
Any help would be appreciated.
Thanks,
Gareth