website/search.json
Claudio Maradonna 3ec7d03c38
fix #8, fix #7
2021-08-23 11:07:05 +02:00

18 lines
471 B
JSON

---
layout: none
---
[
{% 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 }}"
{% endif %}
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]