OptimalBits / cabinet

A lightweight fast static file server for node loaded with useful features
55 stars 6 forks source link

Support for Jade #2

Open billymoon opened 12 years ago

billymoon commented 12 years ago

This should be trivial, except for how to handle the use of data in the template. This might be achievable by using a "virtual" to process the template with data.

alexgorbatchev commented 12 years ago

+1

manast commented 12 years ago

I guess that the use case for this is mostly as some kind of simple blog/news engine. In that case doing something like jader (https://github.com/MattMS/jader) may be a good idea, i.e. having a separate .json file that matches every .jade file.