From 011e278245499105c67ce7f6878f1c10c912b4a8 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 4 Nov 2025 19:22:22 +0100 Subject: [PATCH] [tutorial 042] Jinja with a parameter --- firefox/20-manual.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firefox/20-manual.yml b/firefox/20-manual.yml index 4ecd6ab1..9598f96e 100644 --- a/firefox/20-manual.yml +++ b/firefox/20-manual.yml @@ -10,9 +10,12 @@ manual: description: '{{ identifier }} Proxy' hidden: jinja: |- - {% if manual.use_for_https %} + {% if my_identifier == 'HTTPS' and manual.use_for_https %} HTTPS is same has HTTP {% endif %} + params: + my_identifier: + type: identifier dynamic: - HTTPS - SOCKS