-
Notifications
You must be signed in to change notification settings - Fork 56
/
members.json
32 lines (32 loc) · 1.04 KB
/
members.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
25
26
27
28
29
30
31
32
---
---
{
"title": {{ site.title | jsonify }},
"description": {% if site.description %}{{ site.description | jsonify }}{% endif %},
"home_page_url": "{{ site.url }}",
"feed_url": "{{ site.url }}/members.json",
"members": [
{%- for member in site.members -%}
{ "url": "{{ member.id | prepend: site.baseurl | prepend: site.url }}", "name": {{ member.name | jsonify }},
{%- if member.affiliation -%}
"affiliation": {{ member.affiliation | jsonify }},
{%- endif -%}
{%- if member.lat -%}
"latitude": {{ member.lat }},
{%- endif -%}
{%- if member.long -%}
"longitude": {{ member.long }},
{%- endif -%}
{%- if member.orcid -%}
"orcid": {{ member.orcid | jsonify }},
{%- endif -%}
{%- if member.wikidata -%}
"wikidata": {{ member.wikidata | jsonify }},
{%- endif -%}
{%- if member.scholia -%}
"scholia": {{ member.scholia | jsonify }},
{%- endif -%}
"id": "{{ member.id }}" }{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}