Support non-format templates

for example, `_partial.erb` or `_partial.haml`