-
Notifications
You must be signed in to change notification settings - Fork 3k
/
output.json
23 lines (23 loc) · 1 KB
/
output.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
limit: 100
---
{"vendors": [
{% assign sorted_vendors = site.vendors | sort: "award" | reverse %}
{% for vendor in sorted_vendors limit: page.limit %}
{
"name": {{ vendor.name | jsonify }},
"manufacturer": [{% for v in vendor.manufacturer %}"{{ v }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
"url": {{ vendor.url | jsonify }},
"award": {{ vendor.award | jsonify }},
"position": {{ vendor.position | jsonify }},
"explanation": {{ vendor.explanation | markdownify | replace: 'src="/assets/img/',
'src="https://dontkillmyapp.com/assets/img/' | jsonify }},
"user_solution": {{ vendor.user_solution | markdownify | replace: 'src="/assets/img/',
'src="https://dontkillmyapp.com/assets/img/' | jsonify }},
"developer_solution": {{ vendor.developer_solution | markdownify | replace: 'src="/assets/img/',
'src="https://dontkillmyapp.com/assets/img/' | jsonify }}
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}