[tutorial 042] Jinja with a parameter
This commit is contained in:
parent
69a4013c97
commit
2f477476fe
1 changed files with 4 additions and 1 deletions
|
@ -12,9 +12,12 @@ manual:
|
||||||
- SOCKS
|
- SOCKS
|
||||||
hidden:
|
hidden:
|
||||||
jinja: |
|
jinja: |
|
||||||
{% if manual.use_for_https %}
|
{% if my_identifier == 'HTTPS' and manual.use_for_https %}
|
||||||
HTTPS is same has HTTP
|
HTTPS is same has HTTP
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
params:
|
||||||
|
my_identifier:
|
||||||
|
type: identifier
|
||||||
|
|
||||||
address:
|
address:
|
||||||
description: "{{ identifier }} address"
|
description: "{{ identifier }} address"
|
||||||
|
|
Loading…
Reference in a new issue