Merge pull request #256 from erijo/template-awk-inc-pages
This commit is contained in:
commit
4f05403273
1 changed files with 11 additions and 0 deletions
|
@ -106,6 +106,17 @@ This block is included for any other OS
|
||||||
{% endif %}
|
{% endif %}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
include
|
||||||
|
: Content can be included from external files using the
|
||||||
|
`{% include "filename" %}` syntax. The filename may include variables and
|
||||||
|
should be either a path relative to the current template or an absolute
|
||||||
|
path. The included file may itself also use variables, but if-else-endif or
|
||||||
|
include directives are not supported. An example:
|
||||||
|
|
||||||
|
```jinja
|
||||||
|
{% include "extra/config.{{ yadm.os }}" %}
|
||||||
|
```
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
[envtpl]: https://github.com/andreasjansson/envtpl
|
[envtpl]: https://github.com/andreasjansson/envtpl
|
||||||
|
|
Loading…
Reference in a new issue