Merge pull request #2099 from 7heo/add-link-to-template-syntax-in-provider-doc
More internal links in template documentation.
This commit is contained in:
commit
95d2df0850
|
@ -133,7 +133,7 @@ The supported built-in functions are:
|
|||
|
||||
## Templates
|
||||
|
||||
Long strings can be managed using templates. Templates are [resources](/docs/configuration/resources.html) defined by a filename and some variables to use during interpolation. They have a computed `rendered` attribute containing the result.
|
||||
Long strings can be managed using templates. [Templates](/docs/providers/template/index.html) are [resources](/docs/configuration/resources.html) defined by a filename and some variables to use during interpolation. They have a computed `rendered` attribute containing the result.
|
||||
|
||||
A template resource looks like:
|
||||
|
||||
|
|
|
@ -41,3 +41,6 @@ The following attributes are exported:
|
|||
* `vars` - See Argument Reference above.
|
||||
* `rendered` - The final rendered template.
|
||||
|
||||
## Template files syntax
|
||||
|
||||
The syntax of the template files is [documented here](/docs/configuration/interpolation.html), under the "Templates" section.
|
||||
|
|
Loading…
Reference in New Issue