added partials, local var, ext routes