John John - 1 year ago 90
Node.js Question

Node template engine that can include other templates?

Starting to get into node but struggling to pick a template engine..

Is there an engine out there that can include other templates in the same twig can?


{% include 'template.html' with {'foo': 'bar'} %}

Answer Source

I went with this in the end:

I is a port of twig to js.. absolutely awesome and does exactly what you would expect from a twig.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download