[tutorial v1.1_070] A conditional hidden family with Jinja

This commit is contained in:
egarette@silique.fr 2026-04-18 10:33:00 +02:00
parent d187bac373
commit f7e40cb3dd
2 changed files with 4 additions and 6 deletions

View file

@ -1,5 +0,0 @@
# New variable
| Variable | Description |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| **<a id="manual.:::identifier:::_proxy.version" name="manual.:::identifier:::_proxy.version">manual.*socks*_proxy.version</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | SOCKS host version used by proxy.<br/>**Choices**: <br/>&nbsp;v4<br/>&nbsp;v5 **← (default)**<br/>**Disabled**: when the identifier is "HTTPS". |

View file

@ -9,7 +9,10 @@ manual:
'{{ identifier }}_proxy': '{{ identifier }}_proxy':
description: '{{ identifier }} Proxy' description: '{{ identifier }} Proxy'
hidden: hidden:
variable: _.use_for_https jinja: |-
{% if _.use_for_https %}
HTTPS is same has HTTP
{% endif %}
dynamic: dynamic:
- HTTPS - HTTPS
- SOCKS - SOCKS