wiki-grav/plugins/simplesearch/templates/simplesearch_results.json.twig
2022-05-27 11:01:29 +02:00

6 lines
144 B
Twig

{"results":[
{%- for search_result in search_results -%}
{{- search_result.route|json_encode|raw -}}{{ not loop.last ? ',' }}
{%- endfor -%}
]}