1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 09:45:56 +01:00
blog/_src/api/search.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 %}
]