1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00
blog/_src/api/posts.json

23 lines
790 B
JSON
Raw Normal View History

---
layout: null
---
[
{% for post in site.posts %}
{
"title" : {{ post.title | titlecase | jsonify }},
"excerpt" : {{ post.excerpt | jsonify }},
"category" : "{{ post.categories | join: ', ' }}",
"tag" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.url }}{{ post.url }}",
"date" : "{{ post.date }}",
"content" : {{ post.content | jsonify }},
"image" : "{{ post.image }}",
"author" : "{{ post.author }}",
"layout" : "{{ post.layout }}",
"id" : "{{ post.id }}",
"path" : "{{ post.path }}",
"download" : "{{ post.download }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]