forked from RetroReversing/retroReversing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.json
More file actions
18 lines (18 loc) · 675 Bytes
/
search.json
File metadata and controls
18 lines (18 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
layout: null
---
[ {}
{% for page in site.pages %}
{% if page.layout == 'post' and page.title and page.permalink %}
,{
"title": {{ page.title | jsonify }},
"url": {{ page.permalink | jsonify }},
"content": {{ page.content | strip_html | strip_newlines | jsonify }},
"excerpt": {{ page.content | strip_html | truncatewords: 50 | jsonify }},
"tags": {{ page.tags | jsonify }},
"image": {{ page.image | default: site.category_images[page.console] | default: page.thumbnail | default: "/public/images/RetroReversingLogoSmall.png" | jsonify }},
"console": {{ page.console | jsonify }}
}
{% endif %}
{% endfor %}
]