<% if current_search_session %>
  <div class="pull-right search-widgets">
  	<%= render(TrlnArgon::StartOverButtonComponent.new(classes: 'catalog_startOverLink btn btn-primary')) %>
    <%= link_back_to_catalog class: 'btn btn-outline-secondary' %>
  </div>
<% end %>

<%= render_document_main_content_partial %>

<% if current_search_session %>
  <div class="pull-right search-widgets">
  	<%= render(TrlnArgon::StartOverButtonComponent.new(classes: 'catalog_startOverLink btn btn-primary')) %>
    <%= link_back_to_catalog class: 'btn btn-outline-secondary' %>
  </div>
<% end %>

<%= render(Blacklight::SearchContextComponent.new(search_context: @search_context, search_session: search_session)) if search_session['document_id'] == @document.id %>

<%= render_document_main_content_partial %>

Include pagination in the constraints on item pages
Include pagination in the constraints on item pages
