[tutorial v1.1_112] A Jinja conditional disabled boolean variable
This commit is contained in:
parent
a8582289aa
commit
4c8b8d13de
1 changed files with 10 additions and 1 deletions
|
|
@ -2,5 +2,14 @@
|
||||||
---
|
---
|
||||||
version: 1.1
|
version: 1.1
|
||||||
|
|
||||||
proxy_dns_socks5: false # Use proxy DNS when using SOCKS v5
|
proxy_dns_socks5:
|
||||||
|
description: Use proxy DNS when using SOCKS v5
|
||||||
|
default: false
|
||||||
|
disabled:
|
||||||
|
jinja: |-
|
||||||
|
{{ _.proxy_mode != "Manual proxy configuration" or _.manual.socks_proxy.version == 'v4' }}
|
||||||
|
return_type: boolean
|
||||||
|
description: |-
|
||||||
|
if "_.proxy_mode" is not "Manual proxy configuration"
|
||||||
|
or "_.manual.socks_proxy.version" is "v4"
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue