only use supported templates
add support for slim templates