[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 [
|
return [
|
||||||
'_template' => 'search/show.html.twig',
|
'_template' => 'search/show.html.twig',
|
||||||
|
'query' => $q,
|
||||||
'notes' => $notes,
|
'notes' => $notes,
|
||||||
'actors' => $actors,
|
'actors' => $actors,
|
||||||
'page' => 1, // TODO paginate
|
'page' => 1, // TODO paginate
|
||||||
|
@ -15,6 +15,11 @@
|
|||||||
</label>
|
</label>
|
||||||
{% endif %}
|
{% 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 #}
|
{# Backwards compatibility with hAtom 0.1 #}
|
||||||
<main class="feed" tabindex="0" role="feed">
|
<main class="feed" tabindex="0" role="feed">
|
||||||
<div class="h-feed hfeed notes">
|
<div class="h-feed hfeed notes">
|
||||||
|
Loading…
Reference in New Issue
Block a user