scrub pdf/txt files and non-subdomain search results

This commit is contained in:
Kyle Drake 2024-12-12 16:35:16 -06:00
parent 40bef7d125
commit afef407744
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@
<% if @start > 0 %>
<a href="?q=<%= Rack::Utils.escape params[:q] %>&start=<%= [@start-10, 0].max %>"><i class="fa fa-arrow-left arrow">&nbsp;&nbsp;</i></a>
<% end %>
<% if @total_results > @start+10 %>
<% if @total_results > @start+10 && @start+10 < 100 %>
<a href="?q=<%= Rack::Utils.escape params[:q] %>&start=<%= @start+10 %>"><i class="fa fa-arrow-right arrow"></i></a>
<% end %>
</h2>