json parsers don't like trailing comma

pull/94/head
eric 2019-06-20 14:33:17 -04:00
parent d0d16c7ee4
commit 60a46c2c74
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
{"title": "{{ feed.title }} - Popular", "href": "{{ feed.feed_path|urlencode }}/?order_by=popular", "type": "application/opds+json"}, {"title": "{{ feed.title }} - Popular", "href": "{{ feed.feed_path|urlencode }}/?order_by=popular", "type": "application/opds+json"},
{"title": "{{ feed.title }} - New", "href": "{{ feed.feed_path|urlencode }}/?order_by=newest", "type": "application/opds+json" }, {"title": "{{ feed.title }} - New", "href": "{{ feed.feed_path|urlencode }}/?order_by=newest", "type": "application/opds+json" },
{% for feed in feeds %} {% for feed in feeds %}
{"title": "{{ feed.title }}", "href": "{{ feed.feed_path|urlencode }}/", "type": "application/opds+json" }, {"title": "{{ feed.title }}", "href": "{{ feed.feed_path|urlencode }}/", "type": "application/opds+json" }{% if not forloop.last %},{% endif %}
{% endfor %} {% endfor %}
] ]
} }