Fix bug that added : at the end of the key

This commit is contained in:
jvblasco 2015-05-22 14:32:57 +02:00
parent 1b74efd2d0
commit 60691ef20d
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{%- macro print_name(identifier, key) -%}
{%- if 'name' in key %}
{{ key['name'] }}:
{{ key['name'] }}
{%- else %}
{{ identifier }}:
{{ identifier }}
{%- endif %}
{%- endmacro -%}