forked from felleslosninger/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.json
25 lines (25 loc) · 803 Bytes
/
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
---
layout: none
---
[
{% for post in site.docs %}
{
"title" : "{{ post.title | escape }}",
"category" : "{{ post.category }}",
"tags" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"content" : {{ post.content | jsonify}},
"product" : "{{ post.product }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %},
{% for page in site.pages %}
{
"title" : "{{ page.title | escape }}",
"category" : "{{ page.category }}",
"tags" : "{{ page.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ page.url }}",
"content" : {{ page.content | jsonify}},
"product" : "{{ page.product }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]