allow .html templates
add models to locals() so they're available to plugins