awestruct/awestruct — pull request #134 by bruno-c (2012-07-23 18:24:31+00:00)
Title: Anyone interested in Mustache template support?

I'm still very new to Awestruct and I'm currently converting a project that was built using an in-house framework to Awestruct.

All the templates are Mustache and at first I converted everything to HAML, but it's difficult to keep the data intact.

So I've added a Mustache template handler to Awestruct. I added a spec based on the HAML spec. If more specs are required, I can do that.

I've verified that layouts, nested layouts, front-matter, etc works and everything seems to work ok.

If there's a recommended way to build this kind of thing as a plugin rather than add it to the core, i'd be glad to do it that way instead.