2019-09-30 15:38:41 +03:00
|
|
|
---
|
2020-04-01 15:33:49 +03:00
|
|
|
layout: compress
|
2019-09-30 15:38:41 +03:00
|
|
|
---
|
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 }}",
|
2020-05-05 19:39:28 +03:00
|
|
|
{% 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 %}
|
|
|
|
]
|