Q:

Compiling dust.js template to html server side?

Is it possible to compile dust.js template to plain html? 
I tried dusty and dustc serverside compilers but they generates a javascript file which will write the content of the template on the page.

A:

It is possible to render a dust template directly to HTML, but it is not recommended. Anyway, this can be done with pyv8 a Python bindings for V8 JS engine. 
In this article Andrew Wilkinson show how he made it for mustache.js.

