-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfeed.json
41 lines (41 loc) · 2.08 KB
/
feed.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
33
34
35
36
37
38
39
40
41
---
layout: null
permalink: /feed-open.json
---
{%- assign open_challenges = site.all-challenges | where: "status", "open" -%}
{
"version": "https://jsonfeed.org/version/1",
"home_page_url": "{{ site.url }}",
"title": "Open challenges",
"feed_url": "{{ site.url }}/feed-open.json",
"expired": false,
"_challenge": [{%- for item in open_challenges -%}
{
"challenge-id": "{{ item.challenge-id}}",
"challenge-title": {{ item.challenge-title | jsonify }},
"permalink": "{{ site.url }}{{ item.permalink }}",
"external-url": "{{ item.external-url }}",
"card-image": "{{ site.url }}{{ item.card-image | strip | uri_escape }}",
"agency-logo": "{{ site.url }}/{{ item.agency-logo | strip | uri_escape }}",
"tagline": {{ item.tagline | strip | jsonify }},
"legal-authority": "{{ item.legal-authority }}",
"fiscal-year": "{{ item.fiscal-year }}",
"type-of-challenge": {{ item.type-of-challenge | jsonify }},
"total-prize-offered-cash": "{{ item.total-prize-offered-cash }}",
"challenge_status": "{{ item.status }}",
"agency": "{{ item.agency }}",
"partner-agencies-federal": "{{ item.partner-agencies-federal }}",
"partners-non-federal": "{{ item.partners-non-federal }}",
"challenge-manager": "{{ item.challenge-manager }}",
"challenge-manager-email": "{{ item.challenge-manager-email }}",
"point-of-contact": "{{ item.point-of-contact }}",
"submission-start": "{{ item.submission-start }}",
"submission-end": "{{ item.submission-end }}",
"description": {{ item.description | markdownify | jsonify }},
"prizes": {{ item.prizes | markdownify | jsonify }},
"rules": {{ item.rules | markdownify | jsonify }},
"judging": {{ item.judging | markdownify | jsonify }},
"how-to-enter": {{ item.how-to-enter | markdownify | jsonify }}
}{%- unless forloop.last -%},{%- endunless -%}{%- endfor -%}
]
}