summaryrefslogtreecommitdiff
path: root/sw/templates/ap/collection_page.json
blob: e3bfe3b03f5abb9242c9076cbe5a96164f79e929 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "base.json" %}

{% block content %}

	{% block type %}
	"type": "CollectionPage",
	{% endblock %}

	{% block nav %}
	{% endblock %}

	{% block items %}
	"items": [
		{% for item in items %}
		{% block item_info scoped %}
		"{{ url_for('items.get_item_info', item_id=item['id']) }}"
		{% endblock %}
		{{- "," if not loop.last }}
		{% endfor %}
	],
	{% endblock %}

{% endblock %}