web/assets/js/data/search.json

19 lines
544 B
JSON
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: compress
2019-09-30 15:38:41 +03:00
---
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 }}",
{% assign _content = post.content %}
{% include no-linenos.html %}
"snippet": "{{ _content | strip_html | strip_newlines | remove_chars | escape | truncate: 300 | replace: '\', '\\\\' }}"
2019-09-30 15:38:41 +03:00
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]