1
0
Fork 0
mirror of synced 2024-12-22 14:41:07 -05:00

Merge pull request #256 from erijo/template-awk-inc-pages

This commit is contained in:
Tim Byrne 2020-10-17 14:00:50 -05:00
commit 4f05403273
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -106,6 +106,17 @@ This block is included for any other OS
{% 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 %}
[envtpl]: https://github.com/andreasjansson/envtpl