mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
Merge pull request #83 from javiercejudo/patch-1
Simplify condition for adding comma between posts
This commit is contained in:
commit
349bde67a0
1 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,6 @@ sitemap: false
|
||||||
"url" : "{{ site.url }}{{ post.url }}",
|
"url" : "{{ site.url }}{{ post.url }}",
|
||||||
"date" : "{{ post.date }}",
|
"date" : "{{ post.date }}",
|
||||||
"shortdate" : "{{ post.date | date: '%B %d, %Y' }}"
|
"shortdate" : "{{ post.date | date: '%B %d, %Y' }}"
|
||||||
} {% if forloop.last %}{% else %},{% endif %}
|
} {% unless forloop.last %},{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
Loading…
Reference in a new issue