gnu-social/components/Search/templates/search_results.html.twig

8 lines
194 B
Twig

{% for res in results %}
{% if res is instanceof('App\\Entity\\Note') %}
{% include 'note/view.html.twig' with {'note': res} %}
{% else %}
{{ dump(res) }}
{% endif %}
{% endfor %}