jrburke/delposto — pull request #4 by revin (2012-10-24 16:39:36+00:00)
Title: Jade Template Support

Hey James,

I wanted to use [Jade](https://github.com/visionmedia/jade) for my template engine, so I added it to my delposto fork. This may be too big/intrusive a change for you to want in the main repo, but I thought I'd at least show it to you in case you were interested.

This is only code to process Jade templates; there's nothing in the `create` sequence that sets it up; the current method of turning it on is to set `'templateEngine': 'jade'` in the `meta.json` (the default is `'mustache'`, of course, for users who leave that out).

Since Jade syntax isn't remotely similar to HTML, I set it up such that the template files themselves should have a `.jade` extension, if for no other reason than it makes my editor's syntax highlighting work.

Oh, and I also added the `jade` module from NPM, but since this is currently sort of an Undocumented Alternative situation, I understand if you'd prefer Jade users to have to manually install the module rather than making all delposto users carry it around. Let me know.

Anyway, if this feels like too much weight to support for the master repo, I'm happy to maintain this in my own fork; it's here if you want it.