forked from xrdocs/application-hosting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch_data.html
More file actions
35 lines (33 loc) · 1.13 KB
/
search_data.html
File metadata and controls
35 lines (33 loc) · 1.13 KB
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
---
layout: null
---
{
{% for post in site.blogs %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content" : "{{ post.content | strip_newlines | strip_html | replace: '"', '~' }}",
"url": "{{ post.url | xml_escape }}",
"author": "{{ post.author | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
,
{% for post in site.techdocs %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content" : "{{ post.content | strip_newlines | strip_html | replace: '"', '~' }}",
"url": "{{ post.url | xml_escape }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
,
{% for post in site.tutorials %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content" : "{{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#'}}",
"url": "{{ post.url | xml_escape }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
}