Skip to content

ParseTemplateParams.targetPathOrFile

ParseTemplateParams › targetPathOrFile

Type: PathOrFile

The file the template is rendered FOR. It is what tp.file.* resolves to inside the template, and what TemplaterActiveFileProvider reports for the duration of the call.