-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch_data.json
53 lines (53 loc) · 2.43 KB
/
search_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
---
---
{% assign posts = site.posts %}
{% assign pages = site.pages-is | concat: site.pages-en | concat: site.pages-pl %}
[ {% for post in posts %}
{
"title": "{{ post.title | xml_escape }}",
"content": "{{post.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ post.url | relative_url | xml_escape }}",
"date": "{{ post.date | date:'%d/%m/%y' }}",
"language": "{{ post.lang }}",
"type": "Tilkynning"
},{% endfor %}{% for post in pages %}
{
"title": "{{ post.title | xml_escape }}",
"content": "{{post.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ post.url | relative_url | xml_escape }}",
"description": "{{ post.description }}",
"category": "{{ post.category }}",
"language": "{{ post.lang }}",
"type": "Síða"
},{% endfor %}{% for post in site.articles %}
{
"title": "{{ post.title | xml_escape }}",
"content": "{{post.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ post.url | relative_url | xml_escape }}",
"category": "{{ post.category }}",
"date": "{{ post.date | date:'%d/%m/%y' }}",
"language": "{{ post.lang }}",
"type": "Grein"
},{% endfor %}{% for person in site.staff %}
{
"title": "{{ person.title | xml_escape }}",
"content": "{{ person.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ person.url | relative_url | xml_escape }}",
"language": "{{ person.lang }}",
"type": "Starfsfólk"
},{% endfor %}{% for association in site.associations %}
{
"title": "{{ association.title | xml_escape }}",
"content": "{{association.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ association.url | relative_url | xml_escape }}",
"language": "{{ association.lang }}",
"type": "Aðildarfélag"
},{% endfor %}{% for rep in site.representatives %}
{
"title": "{{ rep.title | xml_escape }}",
"content": "{{ rep.content | strip_html | strip_newlines | remove: " " | escape | remove: "\"}}",
"url": "{{ rep.url | relative_url | xml_escape }}",
"language": "{{ rep.lang }}",
"type": "Fulltrúi"
}{% unless forloop.last %},{% endunless %}{% endfor %}
]