substitutes.jade rendered with database data