website/search.json

20 lines
573 B
JSON
Raw Normal View History

2019-08-13 15:16:48 +02:00
---
layout: null
---
[
{% for page in site.pages %}
{
{% if page.title != nil %}
{%- capture translated_title %}
{%- t page.title %}
{%- endcapture %}
"title" : "{{ translated_title | escape }}",
2019-08-13 15:16:48 +02:00
"tags" : "{{ page.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ page.url }}",
"date" : "{{ page.date }}",
2020-04-05 15:03:58 +02:00
"content" : "{{ page.content | remove: '"' | strip_html | strip_newlines | remove: ' ' }}"
2019-08-13 15:16:48 +02:00
{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]