-
Notifications
You must be signed in to change notification settings - Fork 8
/
data.json
24 lines (24 loc) · 1.65 KB
/
data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
collectionName: wf-partner
---
{"partners": [{% assign collection = site.collections | where: 'label', page.collectionName | first %}{% for tag in collection.docs %}{% if tag.layout != 'cc' %}{% continue %}{% endif %}{% if tag.title == 'Template' %}{% continue %}{% endif %}{% if forloop.index0 != 0%},{% endif %}{
{% if tag.glyphname %}"glyphname": "{{ tag.glyphname }}",
{% endif %}{% if tag.glyphurl %}"glyphurl": "{{ site.baseDataUrl | append: '/latest/' | append: tag.glyphurl }}",
{% endif %}{% if tag.glyphwave %}"wave": "{{ tag.glyphwave }}",
{% endif %}{% if tag.youtube %}"youtube": "{{ tag.youtube }}",
{% endif %}{% if tag.twitch %}"twitch": "{{ tag.twitch }}",
{% endif %}{% if tag.twitter %}"twitter": "{{ tag.twitter }}",
{% endif %}{% if tag.discord %}"discord": "{{ tag.discord }}",
{% endif %}{% if tag.facebook %}"facebook": "{{ tag.facebook }}",
{% endif %}{% if tag.mixer %}"mixer": "{{ tag.mixer }}",
{% endif %}{% if tag.other-site %}"other_site": "{{ tag.other-site }}",
{% endif %}{% if tag.primary-language %}"primary_language": "{{ tag.primary-language }}",
{% endif %}{% if tag.global-glyph-code %}"global_glyph_code": "{{ tag.global-glyph-code }}",
{% endif %}{% if tag.currently-partnered %}"currently_partnered": "{{ tag.currently-partnered }}",
{% endif %}{% if tag.content %}"text": "{{ tag.content | strip_newlines | xml_escape }}",
{% endif %}{% if tag.stream-currency-needed-for-glyph %}"stream_currency_needed_for_glyph": "{{ tag.stream-currency-needed-for-glyph }}",
{% endif %}{% if tag.alt-names %}"alt_names": "{{ tag.alt-names }}",
{% endif %}"title": "{{ tag.title }}",
"url": "{{ site.url }}{{ tag.url }}",
"id": "{{ tag.ccid }}"
}{% endfor %}]}