improve template compile function invocation:

use includes and app view locals in jade post templates.