blob: b782c22e34d7541934d7098dbf81639b7d7fff91 [file] [log] [blame]
---
layout: none
---
[
{% for oem in site.collections %}
{% assign name = oem.label %}
{% case name %}
{% when "faq" %}
{% continue %}
{% when "app" %}
{% continue %}
{% when "terms" %}
{% continue %}
{% when "oem" %}
{% continue %}
{% endcase %}
{% for device in site[name] %}
{
"title" : "{{ device.title | escape }} ({{ device.codename }})",
"desc" : "TWRP for {{ device.title | escape }}",
"url" : "{{ device.url }}"
}{% unless lastouterloop == "true" and lastinnerloop == "true" and forloop.rindex == 1 %}, {% endunless %}
{% if forloop.rindex == 1 %}
{% assign lastinnerloop = "true" %}
{% endif %}
{% endfor %}
{% if forloop.rindex == 2 %}
{% assign lastouterloop = "true" %}
{% endif %}
{% endfor %}
]