add numbers to template
This commit is contained in:
parent
64530f3fe8
commit
da7a56beca
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
{{ key }} = "{{ value }}";
|
{{ key }} = "{{ value }}";
|
||||||
{%- elif value is boolean -%}
|
{%- elif value is boolean -%}
|
||||||
{{ key }} = {{ value|lower }};
|
{{ key }} = {{ value|lower }};
|
||||||
|
{%- elif value is number -%}
|
||||||
|
{{ key }} = {{ value }};
|
||||||
{%- elif value is mapping -%}
|
{%- elif value is mapping -%}
|
||||||
{{ key }} {
|
{{ key }} {
|
||||||
{% for key, value in value.items() %}
|
{% for key, value in value.items() %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue