Using HAML templates in JavaScript - How To Node - NodeJS
http://webcache.googleusercontent.com/search?q=cache:t0RfEMOdvh4J:howtonode.org/haml-for-javascript+nodjs+render+html&cd=5&hl=en&ct=clnk&gl=us
Ok, now that we know how to make layout templates by passing the result of one template as a variable to another, let’s learn how to do partials. Partials are pieces of templates that are shared between several pages.