forked from cloud-elements/devportal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.json
More file actions
25 lines (25 loc) · 973 Bytes
/
search.json
File metadata and controls
25 lines (25 loc) · 973 Bytes
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: null
---
[
{% for page in site.pages %}
{
{% if page.title == "API Docs" %}
"heading" : "{{ page.heading | escape }}",
"title" : "{{ page.title }}",
"description" : "{{ page.description }}",
"url" : "{{ site.baseurl }}{{ page.url }}?elementId={{ page.elementId}}"
{% elsif page.title == "Platform Documentation" %}
"heading" : "{{ page.heading | escape }}",
"title" : "{{ page.title }}",
"description" : "{{ page.description }}",
"url" : "{{ site.baseurl }}{{ page.url }}?resource={{ page.platform}}"
{% else %}
"heading" : "{{ page.heading | escape }}",
"title" : "{{ page.title }}",
"description" : "{{ page.description }}",
"url" : "{{ site.baseurl }}{{ page.url }}"
{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]