forked from samarsault/plainwhite-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.json
More file actions
20 lines (20 loc) · 686 Bytes
/
search.json
File metadata and controls
20 lines (20 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
layout: null
sitemap:
exclude: 'yes'
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"title-lower" : "{{ post.title | escape | downcase}}",
"sub-titile" : "{{ post.subtitle | escape }}",
"sub-titile-lower" : "{{ post.subtitle | escape | downcase}}",
"categories" : "{{ post.categories }}",
"tags" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"date" : "{{ post.date }}",
"content" : "{{ post.content | strip_html | strip_newlines | remove_chars | escape | truncate:200 }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]