[COMPONENT][Search] Add title so it's clearer these are search results

This commit is contained in:
Hugo Sales 2021-12-07 20:36:25 +00:00
parent f9fedfb131
commit b8e9c2ce41
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class Search extends Controller
return [
'_template' => 'search/show.html.twig',
'query' => $q,
'notes' => $notes,
'actors' => $actors,
'page' => 1, // TODO paginate

View File

@ -15,6 +15,11 @@
</label>
{% endif %}
<div class="section-widget-padded">
{% set query = query|escape %}
<h2>{% trans %}Search results for %query%{% endtrans %}</h2>
</div>
{# Backwards compatibility with hAtom 0.1 #}
<main class="feed" tabindex="0" role="feed">
<div class="h-feed hfeed notes">