Merge pull request #83 from javiercejudo/patch-1

Simplify condition for adding comma between posts
This commit is contained in:
Michael Rose 2014-08-22 13:50:03 -04:00
commit 349bde67a0

View file

@ -9,6 +9,6 @@ sitemap: false
"url" : "{{ site.url }}{{ post.url }}",
"date" : "{{ post.date }}",
"shortdate" : "{{ post.date | date: '%B %d, %Y' }}"
} {% if forloop.last %}{% else %},{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]
]