add jinja2 templating

This commit is contained in:
2021-02-20 18:01:13 +01:00
parent 807842e680
commit 20d8242d47
50 changed files with 292 additions and 47 deletions

View File

@ -0,0 +1,9 @@
{% for lead in leader -%}
leader: {{ lead }}
{% if lead.follower1 is defined -%}
follower1: {{ lead.follower1 if lead.follower1 }}
{% endif -%}
{% if lead.follower2 is defined -%}
follower2: {{ lead.follower2 if lead.follower2 }}
{% endif -%}
{% endfor -%}