---
layout: null
---
{
	"posts": [
		{% for post in site.posts %}
			{
				"title": "{{ post.title | raw | escape }}",
				"url": "{{ site.baseurl }}{{ post.url }}",
				"hero": "{{ post.hero }}",
				"tags": [{% for tag in post.tags %}"{{ tag }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
				"categories": [{% for category in post.categories %}"{{ category }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
				"date": "{{ post.date | date: "%B %e, %Y" }}",
				"author": "{{ post.author }}",
				"draft": {% if post.draft %}true{% else %}false{% endif %},
				"content": "{{ post.excerpt | strip_html | strip_newlines }}"
			{% if forloop.last %}}{% else %}},{% endif %}{% endfor %}
	],
	"authors": {
		{% for author in site.authors %}
		"{{ author.id }}": {
			"name": "{{ author.name }}",
			"avatar": "{{ author.avatar }}",
			"twitter": "{{ author.twitter }}",
			"url": "{{ site.baseurl }}/authors/{{ author.id }}",
			"job": "{{ author.job }}"
		{% if forloop.last %}}{% else %}},{% endif %}{% endfor %}
	}
}
---
layout: null
---
{
	"posts": [
		{% for post in site.posts %}
			{
				"title": "{{ post.title | raw | escape }}",
				"url": "{{ site.baseurl }}{{ post.url }}",
				"hero": "{{ post.hero }}",
				"tags": [{% for tag in post.tags %}"{{ tag }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
				"categories": [{% for category in post.categories %}"{{ category }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
				"date": "{{ post.date | date: "%B %e, %Y" }}",
				"author": "{{ post.author }}",
				"draft": {% if post.draft or post.date > site.time %}true{% else %}false{% endif %},
				"content": "{{ post.excerpt | strip_html | strip_newlines }}"
			{% if forloop.last %}}{% else %}},{% endif %}{% endfor %}
	],
	"authors": {
		{% for author in site.authors %}
		"{{ author.id }}": {
			"name": "{{ author.name }}",
			"avatar": "{{ author.avatar }}",
			"twitter": "{{ author.twitter }}",
			"url": "{{ site.baseurl }}/authors/{{ author.id }}",
			"job": "{{ author.job }}"
		{% if forloop.last %}}{% else %}},{% endif %}{% endfor %}
	}
}
Implement draft capability for future date
Implement draft capability for future date
