mozilla/openbadges — pull request #367 by stenington (2012-09-29 17:44:34+00:00)
Title: Upgrading to express 3 with nunjucks!

I got tired of trying to choose between lousy templating options and did a spike on this instead. It seems extremely promising.

At this point several tests are broken and I'm sure many pages
are too. However login, the main backpack view, and demo/ballertime
all work so I think it's a good start.

There are several TODOs I can think of:
* https in app.js
* rename templates from hogan.js, which is a blatant lie for some of them now
* add extension to template names in calls to render()
* probably some more Express 2 -> 3 fallout
* redirect call signature changes, for example
* package.json updates were sloppy
* currently need nunjucks HEAD from git
* check for console.log and/or other commented out code/cruft
* fix tests

But c'mon... Express 3! Nunjucks!