forked from firewalld/firewalld.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.json
More file actions
20 lines (19 loc) · 735 Bytes
/
search.json
File metadata and controls
20 lines (19 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
layout: compress
---
[{% for post in site.posts %}{%
assign content = post.content | markdownify | newline_to_br | replace: '<br />', ' ' | replace: ' ', ' ' | strip_html | strip | xml_escape | strip_newlines %}
{
"title" : "{{ post.title | escape }}",
"category" : "{{ post.category }}",
"tags" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"section" : "{{ post.section }}",
"content" : "{{ content }}"
}{% unless forloop.last %},{% endunless %}{%
endfor %}{%
for _node in site.data.nav %}{%
assign level = 1 %}{%
include search-nav.html level=level path="/" base_path="/" name="" node=_node %}{%
endfor %}
]