[

{% for post in site.posts %}
  {
    "title"    : "{{ post.title | strip_html | escape }}",
    "url"      : "{{ site.baseurl }}{{ post.url }}",
    "category" : "{{post.categories | join: ', '}}",
    "tags"     : "{{ post.tags | join: ', ' }}",
    "date"     : "{{ post.date }}",
    "discription" : "{{post.description | strip_html | strip_newlines | escape }}"
  } {% unless forloop.last %},{% endunless %}
{% endfor %}

]