Fix bug that added : at the end of the key
This commit is contained in:
parent
1b74efd2d0
commit
60691ef20d
@ -1,8 +1,8 @@
|
|||||||
{%- macro print_name(identifier, key) -%}
|
{%- macro print_name(identifier, key) -%}
|
||||||
{%- if 'name' in key %}
|
{%- if 'name' in key %}
|
||||||
{{ key['name'] }}:
|
{{ key['name'] }}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{{ identifier }}:
|
{{ identifier }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user