website/search.json

19 lines
573 B
JSON

---
layout: null
---
[
{% for page in site.pages %}
{
{% if page.title != nil %}
{%- capture translated_title %}
{%- t page.title %}
{%- endcapture %}
"title" : "{{ translated_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 %}
]