mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-23 00:56:01 +00:00
Simplify condition for adding comma between posts
This changes was merged in the original repo at https://github.com/christian-fei/Simple-Jekyll-Search/pull/6
This commit is contained in:
parent
07191f1b21
commit
f163d5327c
1 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue