[COMPONENT][Search] Add title so it's clearer these are search results
This commit is contained in:
parent
f9fedfb131
commit
b8e9c2ce41
|
@ -58,6 +58,7 @@ class Search extends Controller
|
|||
|
||||
return [
|
||||
'_template' => 'search/show.html.twig',
|
||||
'query' => $q,
|
||||
'notes' => $notes,
|
||||
'actors' => $actors,
|
||||
'page' => 1, // TODO paginate
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user