Merge pull request #32 from onestic/master
Fix bug that added : at the end of the key
This commit is contained in:
commit
3ed21c0d3a
|
@ -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