forked from wikipathways/pfocr-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.json
25 lines (25 loc) · 895 Bytes
/
search.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
---
layout: none
---
[
{% assign sorted_figures = site.figures | sort: "year" | reverse %}
{% for pw in sorted_figures %}
{% for org in site.organisms %}
{% if pw.organisms contains org.latin %}
{% assign common-org = org.common %}
{% endif %}
{% endfor %}
{
"title" : "{{ pw.figtitle | escape }}",
"alias" : "{{ pw.figid_alias }}",
"pmcid" : "{{ pw.pmcid }}",
"filename" : "{{ pw.filename }}",
"description" : "{{ pw.caption | truncate: 200 | escape }}",
"organisms" : "{{ pw.organisms | join: ', ' }}",
"common" : "{{ common-org }}",
"keywords" : "{{ pw.schema-jsonld | map: "keywords" | uniq | join: ', ' | escape }}",
"url" : "{{ site.baseurl }}{{ pw.url }}",
"year" : "{{ pw.year }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]