I use this rewrite of resig's microtemplating:<p><a href="http://github.com/creationix/microtemplates" rel="nofollow">http://github.com/creationix/microtemplates</a><p>It's as versatile as I'll ever need - it evaluates any javascript between the tags. If you don't like the syntax it's really easy to change - just change the regexp on line 2. A complete templating engine in a dozen lines of code:<p><a href="http://pastebin.com/QpacVLcS" rel="nofollow">http://pastebin.com/QpacVLcS</a>