mirror-crappy-reverie/search.json

15 lines
466 B
JSON

---
---
[
{% for post in site.posts %}
{% if post.hidden != true %}
{
"title" : "{% if post.title != "" %}{{ post.title | escape }}{% else %}{{ post.excerpt | strip_html | escape | strip }}{%endif%}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"category" : "{{ post.categories | join: ', '}}",
"date" : "{{ post.date | date: "%B %e, %Y" }}"
} {% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
]