extract renderTemplatePath