--- 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 %} ]