advanced template configuration using underscore