Skip to content

Instantly share code, notes, and snippets.

@mersy
Last active December 25, 2015 20:19
Show Gist options
  • Save mersy/7033839 to your computer and use it in GitHub Desktop.
Save mersy/7033839 to your computer and use it in GitHub Desktop.
---
layout: none
---
{"items":[
{% for post in site.posts %}{"title":"{{ post.title }}",
"url":"{{ post.url }}",
"date":"{{ post.date | date_to_string }}",
"body":"{{ post.content | strip_html | xml_escape | strip_newlines }}"}{% unless forloop.last %},{% endunless %}{% endfor %}
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment