add spaces and case for bool values
This commit is contained in:
parent
cc8409ab9c
commit
b46012bf7a
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{%- macro keyvalue(key, value, depth=0) %}
|
||||
{%- if value is string -%}
|
||||
{{ key }} = "{{ value }}";
|
||||
{%- elif value is boolean -%}
|
||||
{{ key }} = {{ value|lower }};
|
||||
{%- elif value is mapping -%}
|
||||
{{ key }} {
|
||||
{% for key, value in value.items() %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue