anchor.diff:      <% else %>
       <li class="page-item page-num">
       <% end %>
  -    <a class="page-link" href="/books?limit=<%= limit %>&offset=<%= page_offset %>"><%= index + 1 %></a>
  +    <a class="page-link" href="<%= request.path_info %>?limit=<%= limit %>&offset=<%= page_offset %>"><%= index + 1 %></a>
       </li>
     <% end %>
     <% if next_page < pages.count %>
     <li class="page-item page-nav">
  -    <a class="page-link" href="/books?limit=<%= limit %>&offset=<%= pages[next_page] %>">Next</a>
  +    <a class="page-link" href="<%= request.path_info %>?limit=<%= limit %>&offset=<%= pages[next_page] %>">Next</a>
     <% else %>
     <li class="page-item page-nav disabled">
       <span class="page-link">Next</span>
  
positive.code: <%
  pages = (0..count).step(limit).to_a
  
  current_page = offset / limit
  
  
negative.code: <ul class="pagination">
    <% if pages[prev_page] < offset %>
    <li class="page-item page-nav">
      <a class="page-link" href="<%= request.path_info %>?limit=<%= limit %>&offset=<%= pages[prev_page] %>">Previous</a>
    <% else %>
    <li class="page-item page-nav disabled">
    <span class="page-link">Previous</span>
  