website/search.json
Claudio Maradonna 0e79aa509f
Optimize json
2020-04-05 15:03:58 +02:00

16 lines
473 B
JSON

---
layout: null
---
[
{% for page in site.pages %}
{
{% if page.title != nil %}
"title" : "{{ page.title | escape }}",
"tags" : "{{ page.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ page.url }}",
"date" : "{{ page.date }}",
"content" : "{{ page.content | remove: '"' | strip_html | strip_newlines | remove: ' ' }}"
{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]