2019-09-30 15:38:41 +03:00
|
|
|
---
|
|
|
|
layout: compress
|
|
|
|
---
|
2019-12-31 18:17:27 +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: ', ' }}",
|
2019-12-31 18:17:27 +03:00
|
|
|
"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 %}
|
|
|
|
]
|