mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-25 11:18:35 +01:00
19 lines
694 B
JSON
19 lines
694 B
JSON
---
|
|
layout: null
|
|
---
|
|
[
|
|
{% for post in site.posts %}
|
|
{
|
|
"title" : "{{ post.title | strip_html | strip_newlines | titlecase }}",
|
|
"excerpt" : "{{ post.excerpt | strip_html | strip_newlines }}",
|
|
"category" : "{{ post.categories | join: ', ' }}",
|
|
"tag" : "{{ post.tags | join: ', ' }}",
|
|
"url" : "{{ site.url }}{{ post.url }}",
|
|
"date" : "{{ post.date }}",
|
|
"image" : "{{ post.image }}",
|
|
"content" : "{{ post.content | strip_html | strip_newlines | xml_escape }}",
|
|
"linkurl" : "{{ post.linkurl }}"
|
|
} {% unless forloop.last %},{% endunless %}
|
|
{% endfor %}
|
|
]
|