--- layout: null --- [ {% for post in site.posts %} { "title" : "{{ post.title | escape }}", "category" : "{{ post.category }}", "tags" : "{{ post.tags | join: ', ' }}", "url" : "{{ post.url | relative_url }}", "date" : "{{ post.date }}", "content" : {{ post.content | jsonify }} } {% unless forloop.last %},{% endunless %} {% endfor %} , {% for page in site.pages %} { {% if page.title != nil %} "title" : "{{ page.title | escape }}", "category" : "{{ page.category }}", "tags" : "{{ page.tags | join: ', ' }}", "url" : "{{ page.url | relative_url }}", "date" : "{{ page.date }}", "content" : {{ page.content | jsonify }} {% endif %} } {% unless forloop.last %},{% endunless %} {% endfor %} ]