(search) Provide a notification when no search results are found.

This commit is contained in:
Viktor Lofgren 2024-05-06 20:11:39 +02:00
parent af7f6b89ec
commit c837321df1

View File

@ -29,6 +29,13 @@
Showing search results from <a href="/site/{{focusDomain}}">{{focusDomain}}</a>.
</div>
{{/if}}
{{#unless results}}
<div class="infobox">
No search results found.
</div>
{{/unless}}
{{#unless focusDomain}}
<div class="infobox screenreader-only">
Showing {{resultCount}} search results.