blob: 1b16704da5e1e8bbbd08de5ec8d54c8ad858e839 [file] [log] [blame]
bigbiffd006b302015-03-06 18:36:03 -05001---
2layout: none
3---
4[
bigbiff bigbiff791879d2017-08-27 14:40:00 -04005 {% for oem in site.collections %}
6 {% assign name = oem.label %}
7 {% case name %}
8 {% when "faq" %}
9 {% continue %}
10 {% when "app" %}
11 {% continue %}
12 {% when "terms" %}
13 {% continue %}
14 {% when "oem" %}
15 {% continue %}
bigbiff bigbiff8abc4da2017-09-01 19:59:09 -040016 {% when "posts" %}
17 {% continue %}
bigbiff bigbiff791879d2017-08-27 14:40:00 -040018 {% endcase %}
19 {% for device in site[name] %}
20 {
21 "title" : "{{ device.title | escape }} ({{ device.codename }})",
22 "desc" : "TWRP for {{ device.title | escape }}",
23 "url" : "{{ device.url }}"
bigbiffe3069932022-03-12 23:39:33 +000024 }{% unless lastouterloop == "true" and lastinnerloop == "true" and forloop.rindex == 1 %}, {% endunless %}
bigbiff bigbiff791879d2017-08-27 14:40:00 -040025 {% if forloop.rindex == 1 %}
26 {% assign lastinnerloop = "true" %}
27 {% endif %}
28 {% endfor %}
29 {% if forloop.rindex == 2 %}
30 {% assign lastouterloop = "true" %}
31 {% endif %}
bigbiffd006b302015-03-06 18:36:03 -050032 {% endfor %}
33]