1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-30 07:58:11 +01:00
blog/_src/api/posts.json

24 lines
836 B
JSON

---
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 }}",
"linkurl" : "{{ post.linkurl }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]