preprocess jade templates