-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.json
85 lines (85 loc) · 4.66 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
---
{
{% for entry in site.team %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url}}{{ entry.url | xml_escape }}",
"slug": "{{ entry.permalink | xml_escape }}",
"summary": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape | truncatewords: 50 }}",
"content": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape }}",
{% if entry.image %}
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
{% else %}
"thumbnail": "{{site.url}}{{ site.background | xml_escape }}",
"image": "{{site.url}}{{ site.background | xml_escape }}"
{% endif %}
},
{% endfor %}
{% for entry in site.partners %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url}}{{ entry.url | xml_escape }}",
"slug": "{{ entry.permalink | xml_escape }}",
"summary": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape | truncatewords: 50 }}",
"content": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape }}",
{% if entry.image %}
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
{% else %}
"thumbnail": "{{site.url}}{{ site.background | xml_escape }}",
"image": "{{site.url}}{{ site.background | xml_escape }}"
{% endif %}
},
{% endfor %}
{% for entry in site.papers %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url}}{{ entry.url | xml_escape }}",
"slug": "{{ entry.permalink | xml_escape }}",
"summary": "{{ entry.title | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape | truncatewords: 50 }}",
"content": "{{ entry.title | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape }}",
{% if entry.image %}
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
{% else %}
"thumbnail": "{{site.url}}{{ site.background | xml_escape }}",
"image": "{{site.url}}{{ site.background | xml_escape }}"
{% endif %}
},
{% endfor %}
{% for entry in site.projects %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url}}{{ entry.url | xml_escape }}",
"slug": "{{ entry.permalink | xml_escape }}",
"summary": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape | truncatewords: 50 }}",
"content": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape }}",
{% if entry.image %}
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
{% else %}
"thumbnail": "{{site.url}}{{ site.background | xml_escape }}",
"image": "{{site.url}}{{ site.background | xml_escape }}"
{% endif %}
},
{% endfor %}
{% for entry in site.content %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url}}{{ entry.url | xml_escape }}",
"slug": "{{ entry.permalink | xml_escape }}",
"summary": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | truncatewords: 50 | xml_escape }}",
"content": "{{ entry.content | newline_to_br | replace: '<br />', ' ' | strip_newlines | strip_html | strip | xml_escape }}",
{% if entry.image %}
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
{% else %}
"thumbnail": "{{site.url}}{{ site.background | xml_escape }}",
"image": "{{site.url}}{{ site.background | xml_escape }}"
{% endif %}
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
}