forked from coala/projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprojects.liquid
More file actions
22 lines (22 loc) · 1.12 KB
/
Copy pathprojects.liquid
File metadata and controls
22 lines (22 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
---
[
{% for post in site.projects %}
{
"name" : "{{ post.name }}",
"desc" : "{{ post.desc }}",
"requirements" : [{% for req in post.requirements %}"{{ req }}"{% unless forloop.last %},{% endunless %}
{% endfor %}],
"difficulty" : "{{ post.difficulty }}",
"issues" : [{% for post in post.issues %}"{{ post }}"{% unless forloop.last %},{% endunless %}
{% endfor %}],
"mentors" : [{% for mentor in post.mentors %}"{{ mentor }}" {% unless forloop.last %},{% endunless %}{% endfor %}],
"initiatives" : [{% for initiative in post.initiatives %} "{{ initiative }}" {% unless forloop.last %},{% endunless %}{% endfor %}],
"tags" : [{% for tag in post.tags %} "{{ tag }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
"collaborating_projects" : [{% for cp in post.collaborating_projects %}"{{ cp }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
"content_url" : "{{post.url}}",
"path" : "{{post.path}}",
"status" : [{% for status in post.status %} "{{ status }}" {% unless forloop.last %},{% endunless %}{% endfor %}],
"markdown" : "{{post.path | replace: '_projects/',''}}"
}{% unless forloop.last %},{% endunless %}{% endfor %}
]