blob: 372c8e61013ebf5c91d3289b4b9271173cf772a7 [file] [log] [blame]
Ethan Yonker5987fc12016-12-16 09:55:13 -06001---
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 "url" : "{{ device.url }}",
23 "dlfolder" : "{{ device.downloadfolder }}",
24 "recovery" : "{{ device.ddof }}"
25 }{% unless lastouterloop == "true" and lastinnerloop == "true" and forloop.rindex == 1 %}, {% endunless %}
26 {% if forloop.rindex == 1 %}
27 {% assign lastinnerloop = "true" %}
28 {% endif %}
29 {% endfor %}
30 {% if forloop.rindex == 2 %}
31 {% assign lastouterloop = "true" %}
32 {% endif %}
Ethan Yonker5987fc12016-12-16 09:55:13 -060033 {% endfor %}
bigbiff bigbiff791879d2017-08-27 14:40:00 -040034
Ethan Yonker5987fc12016-12-16 09:55:13 -060035]