visionmedia/express — Issue #923: including html file within jade template fails. 
Author: bazjapan
Created: 2011-12-07 06:36:40+00:00
State: open

Not sure if this is a express or jade issue but I am having problems rendering a html file as an include in a jade template

app.set('view engine', 'jade');
app.register('.html',require('jade'))

within jade template I have tried both

include ../page_content/user/index
and
include ../page_content/user/index.html

//html file

hello

if I change the above file extension to .jade, everything works fine.