forked from ev3dev/ev3dev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch-index.json
More file actions
26 lines (26 loc) · 775 Bytes
/
search-index.json
File metadata and controls
26 lines (26 loc) · 775 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
26
---
layout:
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title }}",
"href": "{{ site.github.url }}{{ post.url }}",
"author": "{{ post.author | join: ', ' }}",
"date": "{{ post.date | date_to_long_string }}",
"loopid" : "post-{{ forloop.index }}",
"category": "{{ post.categories }}"
},
{% endfor %}
{% for page in site.pages %}
{
"title" : "{{ page.title }}",
"href" : "{{ site.github.url }}{{ page.url }}",
"loopid": "page-{{ forloop.index }}",
"category": "{{ page.categories }}",
{% assign parent_dirs=page.url | replace_first: '/', '' | split: '/' %}
"breadcrumbs": "{{ parent_dirs | join: ' > ' }}"
},
{% endfor %}
false
]