[tutorial 041] A conditional hidden family with Jinja (config and doc)
This commit is contained in:
parent
43fd6dd267
commit
97ce5b2786
1 changed files with 9 additions and 6 deletions
15
README.md
15
README.md
|
@ -1,9 +1,9 @@
|
||||||
- [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md)
|
- [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md)
|
||||||
- [[tutorial 036] Variable type and parameters type are copied with default value](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_036/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_036~1..v1.1_036))
|
- [[tutorial 040] Family: a dynamic family](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_040/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_040~1..v1.1_040))
|
||||||
|
|
||||||
# [tutorial 040] Family: a dynamic family
|
# [tutorial 041] A conditional hidden family with Jinja
|
||||||
|
|
||||||
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_040~1..v1.1_040)
|
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_041~1..v1.1_041)
|
||||||
|
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
@ -74,7 +74,10 @@ manual:
|
||||||
- HTTPS
|
- HTTPS
|
||||||
- SOCKS
|
- SOCKS
|
||||||
hidden:
|
hidden:
|
||||||
variable: manual.use_for_https
|
jinja: |
|
||||||
|
{% if manual.use_for_https %}
|
||||||
|
HTTPS is same has HTTP
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
address:
|
address:
|
||||||
description: "{{ identifier }} address"
|
description: "{{ identifier }} address"
|
||||||
|
@ -119,7 +122,7 @@ _`disabled`_
|
||||||
|
|
||||||
_`hidden`_
|
_`hidden`_
|
||||||
|
|
||||||
**Hidden**: manual.use_for_https.
|
**Hidden**: depends on a calculation.
|
||||||
|
|
||||||
|
|
||||||
This family builds families dynamically.
|
This family builds families dynamically.
|
||||||
|
@ -134,4 +137,4 @@ This family builds families dynamically.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- [[tutorial 041] A conditional hidden family with Jinja](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_041/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_041~1..v1.1_041))
|
- [[tutorial 042] Jinja with a parameter](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_042~1..v1.1_042))
|
||||||
|
|
Loading…
Reference in a new issue