Skip to content

Commit

Permalink
Content for sidebar in doc?
Browse files Browse the repository at this point in the history
  • Loading branch information
brittnylapierre committed Nov 6, 2023
1 parent 88f4d0e commit b056af1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions app/components/blacklight/document_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<% else %>
<div class="document-main-section container-xxl">
<br/>

<%= content_for(:sidebar) %>
<%= title %>
<% if @component.to_s == 'div' %>
<%= render(ViewerComponent.new(documentId: @document.id, prefix: 'oocihm')) %>
Expand Down
3 changes: 0 additions & 3 deletions app/views/layouts/catalog_result.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

<% content_for(:content) do %>
<section>
<div class="container-xxl">
<%= content_for(:sidebar) %>
</div>
<%= yield %>
</section>
<% end %>
Expand Down

0 comments on commit b056af1

Please sign in to comment.