--- regenerate: true --- [ {% assign sorted = site.posts | sort_natural: "modif" | reverse %} {% for post in sorted %} { "title" : "{{ post.title | strip_html | escape }}", "url" : "{{ site.baseurl }}{{ post.url }}", "tags" : "{{ post.tags | join: ', ' }}", "create" : "{{ post.create }}", "date" : "{{ post.modif }}" } {% unless forloop.last %},{% endunless %} {% endfor %} ]