summaryrefslogtreecommitdiffstats
path: root/templates/core
diff options
context:
space:
mode:
Diffstat (limited to 'templates/core')
-rw-r--r--templates/core/expeditions_json_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/core/expeditions_json_list.html b/templates/core/expeditions_json_list.html
index ebd5834..ad92206 100644
--- a/templates/core/expeditions_json_list.html
+++ b/templates/core/expeditions_json_list.html
@@ -1,4 +1,4 @@
{% extends "baseapi.html" %}
{% block content %}{
-{% for expedition in object_list %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"]
+{% for expedition in object_list %}{% if not forloop.last %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"],{% endif %}{% if forloop.last %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"]{% endif %}
{% endfor %} }{% endblock %} \ No newline at end of file