gnu-social/components/Search/templates/search/show.html.twig

8 lines
201 B
Twig

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