% layout 'main', title => loc('searchtitle', q => search->query, ql => search->query_language);

<div class="resultinfo">
  <div id="pagination"><%= pagination(search->start_page, search->total_pages, url_with->query(['p' => '{page}'])) =%></div>

% my $found = search->total_results;
% if ($found != -1) {
%   my $found_text = loc('numf', number => $found);
%   if (search->time_exceeded) {
%     $found_text = '> ' . $found_text;
%   };
  <p class="found"><span id="total-results"><%= $found_text %></span> <%= loc('matchCount', found => $found) %></p>
%# <% if (search->benchmark) { %> (~ <%= search->benchmark %>)<% } %>
% } else {
  <p></p>
% };
</div>

% if (search->total_results != 0 && search->results->size) {
<div id="search">
  <ol class="align-left">
%=  search_results begin
%=    include 'match', match => $_
%   end
  </ol>
</div>
% } else {
<p id="no-results"><%== loc 'noMatches', q => search->query %></p>
% }

%= include 'query'
