Javascript static site generator

I wanted to see if I could build something like Sculpin but using client side resources rather than something like PHP or Ruby to generate HTML from content files. The result is Sculprit-a javascript based templated content system which serves formatted content files. It uses Tiwg for templating and markdown as the markup languge for the content files. It can handle multiple layouts defined in content, will dyanically serve new content files, and is probably a bad idea all around.  

It's at best a proof of concept but it's pretty neat to see how little code is needed to stich together what is essentially a blogging tool when you have access to some great prior art.