support direct template partial rendering