Skip to content

Commit

Permalink
Merge pull request #78 from emotional-cities/jinja2-lists
Browse files Browse the repository at this point in the history
Add comma separator when exporting multiple items
  • Loading branch information
glopesdev authored Nov 26, 2024
2 parents 46cffe1 + 7a6d565 commit 500fee9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pluma/templates/metadata_template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"email": [
{"value" : "{{ contact.email }}"}
]
}
}{{ "," if not loop.last }}
{%- endfor %}
],
"themes": [
Expand All @@ -42,11 +42,11 @@
{% for concept in theme.concepts %}
{
"id": "{{ concept }}"
}
}{{ "," if not loop.last }}
{% endfor %}
],
"scheme": "{{ theme.scheme_url }}"
}
}{{ "," if not loop.last }}
{%- endfor %}
],
"formats": [
Expand Down

0 comments on commit 500fee9

Please sign in to comment.