I'm experimenting with building an entire web application using Node.js. Is there a template engine similar to (for example) the Django template engine or the like that at least allows you to extend base templates?
Check out the Node js modules wiki page. They have listed all the templating engines supporting node.js.