Loading Partials in Mustache

This took me a while to put together. Luckily, RTFM helped. By the way, the example is written in Jade, which I compile to HTML [with Mustache braces in place] using a Grunt task. index.jade has this thing: {{> header}} but it renders to a blank line. I had the header.mustache file in the same directory (mustache/) as index.mustache [which is the file to which the Jade template compiles]. That directory, however, was not the default location that the grunt-mustache-render task was using. So, in my Gruntfile, I simply added options: {directory: "mustache/"} to the mustache_render task. ...

Jul 13, 2014 · Christopher Boette

Quote for 2014-05-13

The Template::Service module provides a high-quality template delivery service, with bells, whistles, signed up service level agreement and a 30-day no quibble money back guarantee. “Have a good time, all the time”, that’s our motto. http://template-toolkit.org/docs/manual/Internals.html#section_Outside_Looking_In

May 13, 2014 · Christopher Boette