File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 44 </ div >
55<% end %>
66
7- <%- masthead_navbar = capture do %>
8- <% if content_for? :masthead_navbar %>
9- <%= content_for :masthead_navbar %>
10- <% elsif current_exhibit %>
11- <%= render 'shared/exhibit_navbar' %>
12- <% else %>
13- <%= render 'shared/site_navbar' %>
14- <% end %>
15- <% end %>
16-
177< header class ="masthead <%= 'image-masthead' if current_masthead %> <%= 'resource-masthead' if resource_masthead? %> ">
188 <% if current_masthead %>
199 < span class ='background-container ' style ="background-image: url('<%= current_masthead . iiif_url %> ') "> </ span >
2010 < span class ='background-container-gradient '> </ span >
2111 <% end %>
2212
23- <%= masthead_navbar if resource_masthead? %>
13+ <%= render current_exhibit ? 'shared/exhibit_navbar' : 'shared/site_navbar' if resource_masthead? %>
2414 <%= render Spotlight ::Engine . config . spotlight . title_component . new ( title : content_for ( :masthead ) || masthead_heading_content , subtitle : masthead_subheading_content ) %>
25- <%= masthead_navbar unless resource_masthead? %>
15+ <%= render current_exhibit ? 'shared/exhibit_navbar' : 'shared/site_navbar' unless resource_masthead? %>
2616</ header >
2717
2818<%= render Spotlight ::BreadcrumbsComponent . new ( breadcrumbs :) %>
You can’t perform that action at this time.
0 commit comments