I\'m following along with: The Node Beginner Book
After testing with the code from another SO post:
var Fs = require(\'fs\'); var dirs = [\'tmp\'];
You can include a different jade file into your template, that to from a different directory
views/ layout.jade static/ page.jade
To include the layout file from views dir to static/page.jade
page.jade
extends ../views/layout