web/assets/js/data/search.json

21 lines
597 B
JSON
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: compress
2022-02-02 20:31:53 +03:00
swcache: true
2019-09-30 15:38:41 +03:00
---
2019-09-30 15:38:41 +03:00
[
{% for post in site.posts %}
{
"title": {{ post.title | jsonify }},
"url": {{ post.url | relative_url | jsonify }},
"categories": {{ post.categories | join: ', ' | jsonify }},
"tags": {{ post.tags | join: ', ' | jsonify }},
"date": "{{ post.date }}",
{% include no-linenos.html content=post.content %}
{% assign _content = content | strip_html | strip_newlines %}
"snippet": {{ _content | truncate: 200 | jsonify }},
"content": {{ _content | jsonify }}
2019-09-30 15:38:41 +03:00
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]