generated from FitzwilliamMuseum/fitz-jeykll-template
/
data.json
65 lines (62 loc) · 3.51 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
---
---
{
{% for entry in site.video %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url }}{{ entry.url | xml_escape }}",
"slug": "{{ entry.url | 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 }}",
"thumbnail": "{{site.url}}{{ entry.image | xml_escape }}",
"image": "{{site.url}}{{ entry.image | xml_escape }}"
},
{% endfor %}
{% for entry in site.team %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url }}{{ entry.url | xml_escape }}",
"slug": "{{ entry.url | 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 }}"
{% endif %}
},
{% endfor %}
{% for entry in site.combs %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url }}{{ entry.url | xml_escape }}",
"slug": "{{ entry.url | 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 }}",
"thumbnail": "{{ entry.preview | xml_escape }}",
"image": "{{ entry.large | xml_escape }}"
},
{% endfor %}
{% for entry in site.posts %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url }}{{ entry.url | xml_escape }}",
"slug": "{{ entry.url | 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 }}",
"thumbnail": "{{ entry.image | xml_escape }}",
"image": "{{ entry.image | xml_escape }}"
},
{% endfor %}
{% for entry in site.audio %}
"{{ entry.url | slugify }}": {
"title": "{{ entry.title | xml_escape }}",
"url": "{{site.url }}{{ entry.url | xml_escape }}",
"slug": "{{ entry.url | 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 }}",
"thumbnail": "{{ entry.image | xml_escape }}",
"image": "{{ entry.image | xml_escape }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
}