sitespeed.io/docs/search/search.json

16 lines
580 B
JSON

[
{% for page in site.pages %}
{
{% if page.title != nil % and page.url contains '/documentation/' %}
"title" : "{{ page.title | escape }}",
"category" : "{{ page.category }}",
"tags" : "{{ page.keywords | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ page.url }}",
"date" : "{{ page.date }}",
"description" : "{{ page.description | escape }}",
"content" : {{ page.content | strip_html | strip_newlines | jsonify }}
{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]