web/search.json

17 lines
450 B
JSON
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: compress
---
2019-09-30 15:38:41 +03:00
[
{% for post in site.posts %}
{
"title": "{{ post.title | escape }}",
"url": "{{ site.baseurl }}{{ post.url }}",
"categories": "{{ post.categories | join: ', '}}",
"tags": "{{ post.tags | join: ', ' }}",
"date": "{{ post.date }}",
"snippet": "{{ post.content | strip_html | strip_newlines | remove_chars | escape | truncate: 300 }}"
2019-09-30 15:38:41 +03:00
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]