From 7a6d5655ff24582442cac2eb1f27d4155d66b42c Mon Sep 17 00:00:00 2001 From: glopesdev Date: Tue, 26 Nov 2024 15:52:24 +0000 Subject: [PATCH] Add comma separator when exporting multiple items --- pluma/templates/metadata_template.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pluma/templates/metadata_template.j2 b/pluma/templates/metadata_template.j2 index df2efa4..66d0430 100644 --- a/pluma/templates/metadata_template.j2 +++ b/pluma/templates/metadata_template.j2 @@ -32,7 +32,7 @@ "email": [ {"value" : "{{ contact.email }}"} ] - } + }{{ "," if not loop.last }} {%- endfor %} ], "themes": [ @@ -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": [