2025-03-18 15:39:10 +08:00

21 lines
511 B
JSON

---
layout: compress
swcache: true
---
[
{% for post in site.posts %}
{%- capture description -%}
{% include post-description.html %}
{%- endcapture -%}
{
"title": {{ post.title | jsonify }},
"url": {{ post.url | relative_url | jsonify }},
"categories": {{ post.categories | join: ', ' | jsonify }},
"tags": {{ post.tags | join: ', ' | jsonify }},
"date": "{{ post.date }}",
"content": "{{ description }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]