Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Jade template and pagination support #23
I wanted to write my blog's skin templates in Jade, so I've added support for using languages aside from haml. The template engine still defaults to haml- if one wants to use Jade instead, you pass in the engine as a config parameter:
I also wanted to be able to paginate articles, so index now takes an additional page parameter. It's up to the author's template to build next, previous, etc links.
Everything here is backward-compatible. Or it should be at any rate- I was able to run the howtonode.org repo without any problems that I could see.