[

{% for post in site.posts %}
  {

    "title"    : "{% if post.title != "" %}{{ post.title }}{% else %}{{ post.description | strip_html |  escape | strip }}{%endif%}",
    "url"      : "{{ site.baseurl }}{{ post.url }}",
    "category" : "{{ post.categories }}",
    "date"     : "{{ post.date | date: "%B %e, %Y" }}"
  } {% unless forloop.last %},{% endunless %}
{% endfor %}

]