Replace template dir file path hack with embed directive.
This commit is contained in:
parent
0879aaf21d
commit
3df20c01a7
7 changed files with 21 additions and 33 deletions
|
|
@ -904,7 +904,7 @@ If the current [environment](#environments) is set to `config.EnvLocal`, which i
|
|||
|
||||
### File configuration
|
||||
|
||||
To make things easier and less repetitive, parameters given to the _template renderer_ must not include the `templates` directory or the template file extensions. These are stored as constants within the `config` package. If your project has a need to change either of these, simply adjust the `TemplateDir` and `TemplateExt` constants.
|
||||
To make things easier and less repetitive, parameters given to the _template renderer_ must not include the `templates` directory or the template file extensions. The file extension is stored as a constant (`TemplateExt`) within the `config` package.
|
||||
|
||||
## Funcmap
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue