Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ultralight Javascript Templating.
http://github.com/creationix/microtemplates
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:
http://pastebin.com/QpacVLcS
There are no comments on this comment yet.
http://github.com/creationix/microtemplates
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:
http://pastebin.com/QpacVLcS