-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.json
59 lines (52 loc) · 2.14 KB
/
search.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
---
layout: none
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | strip_html | escape }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"category" : "{{ post.categories | join: ', '}}",
"tags" : "{{ post.tags | join: ', ' }}",
"date" : "{{ post.date }}",
"discription" : "{{ post.description | strip_html | strip_newlines | escape }}",
"content" : "{{ post.content | strip_html | strip_newlines | escape }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
,
{% for news in site.news %}
{
"title" : "{{ news.title | strip_html | escape }}",
"url" : "{{ site.baseurl }}{{ news.url }}",
"category" : "{{news.categories | join: ', '}}",
"tags" : "{{ news.tags | join: ', ' }}",
"date" : "{{ news.date }}",
"discription" : "{{news.description | strip_html | strip_newlines | escape }}",
"content" : "{{ news.content | strip_html | strip_newlines | escape }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
,
{% for articles in site.articles %}
{
"title" : "{{ articles.title | strip_html | escape }}",
"url" : "{{ site.baseurl }}{{ articles.url }}",
"category" : "{{articles.categories | join: ', '}}",
"tags" : "{{ articles.tags | join: ', ' }}",
"date" : "{{ articles.date }}",
"discription" : "{{articles.description | strip_html | strip_newlines | escape }}",
"content" : "{{ articles.content | strip_html | strip_newlines | escape }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
,
{% for notes in site.notes %}
{
"title" : "{{ notes.title | strip_html | escape }}",
"url" : "{{ site.baseurl }}{{ notes.url }}",
"category" : "{{notes.categories | join: ', '}}",
"tags" : "{{ notes.tags | join: ', ' }}",
"date" : "{{ notes.date }}",
"discription" : "{{notes.description | strip_html | strip_newlines | escape }}",
"content" : "{{ notes.content | strip_html | strip_newlines | escape }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]