wiki-grav/plugins/simplesearch/templates/simplesearch_results.json.twig

6 lines
144 B
Twig
Raw Normal View History

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