forked from xrdocs/segment-routing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch_data.html
97 lines (93 loc) · 3.92 KB
/
search_data.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
layout: null
---
{
{% assign conference_cnt = 0 %}
{% for post in site.conferences %}
{% assign conference_cnt = conference_cnt | plus: 1 %}
{% if post.position == "hidden" %}
"#": {}
{% unless forloop.last %},{% endunless %}
{% else %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content": {{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#' | jsonify | strip}},
"url": "{{ post.url | xml_escape }}",
"author": "{{ post.author | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% endif %}
{% unless forloop.last %}{% unless post.position == "hidden" %},{% endunless %}{% endunless %}
{% endfor %}
{% unless conference_cnt == 0 %},{% endunless %}
{% assign ietf_cnt = 0 %}
{% for post in site.ietf %}
{% assign ietf_cnt = ietf_cnt | plus: 1 %}
{% if post.position == "hidden" %}
"#": {}
{% unless forloop.last %},{% endunless %}
{% else %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content": {{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#' | jsonify | strip}},
"url": "{{ post.url | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% endif %}
{% unless forloop.last %}{% unless post.position == "hidden" %},{% endunless %}{% endunless %}
{% endfor %}
{% unless ietf_cnt == 0 %},{% endunless %}
{% assign opensoftware_cnt = 0 %}
{% for post in site.open-software %}
{% assign opensoftware_cnt = opensoftware_cnt | plus: 1 %}
{% if post.position == "hidden" %}
"#": {}
{% unless forloop.last %},{% endunless %}
{% else %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content": {{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#' | jsonify | strip}},
"url": "{{ post.url | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% endif %}
{% unless forloop.last %}{% unless post.position == "hidden" %},{% endunless %}{% endunless %}
{% endfor %}
{% unless opensoftware_cnt == 0 %},{% endunless %}
{% assign scipapers_cnt = 0 %}
{% for post in site.scientific-papers %}
{% assign scipapers_cnt = scipapers_cnt | plus: 1 %}
{% if post.position == "hidden" %}
"#": {}
{% unless forloop.last %},{% endunless %}
{% else %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content": {{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#' | jsonify | strip}},
"url": "{{ post.url | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% endif %}
{% unless forloop.last %}{% unless post.position == "hidden" %},{% endunless %}{% endunless %}
{% endfor %}
{% unless scipapers_cnt == 0 %},{% endunless %}
{% assign tutorial_cnt = 0 %}
{% for post in site.tutorials %}
{% assign tutorial_cnt = tutorial_cnt | plus: 1 %}
{% if post.position == "hidden" %}
"#": {}
{% unless forloop.last %},{% endunless %}
{% else %}
"{{ post.url | slugify }}": {
"title": "{{ post.title | xml_escape }}",
"content": {{ post.content | strip_newlines | strip_html | replace: '"', '~' | replace: ':', '#' | jsonify | strip }},
"url": "{{ post.url | xml_escape }}",
"author": "{{ post.author | xml_escape }}",
"tags": "{% for tag in post.tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}"
}
{% endif %}
{% unless forloop.last %}{% unless post.position == "hidden" %},{% endunless %}{% endunless %}
{% endfor %}
{% unless tutorial_cnt == 0 %},{% endunless %}
"#": {}
}