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) -%}
|
||||
{%- if 'name' in key %}
|
||||
{{ key['name'] }}:
|
||||
{{ key['name'] }}
|
||||
{%- else %}
|
||||
{{ identifier }}:
|
||||
{{ identifier }}
|
||||
{%- endif %}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue