Back to Chezmoi

`includeTemplate` *filename* [*data*]

assets/chezmoi.io/docs/reference/templates/functions/includeTemplate.md

2.70.2273 B
Original Source

includeTemplate filename [data]

includeTemplate returns the result of executing the contents of filename with the optional data. Relative paths are first searched for in .chezmoitemplates and, if not found, are interpreted relative to the source directory.