app/views/spotlight/browse/index.html.erb in blacklight-spotlight-3.0.0.alpha.2 vs app/views/spotlight/browse/index.html.erb in blacklight-spotlight-3.0.0.alpha.3
- old
+ new
@@ -1,6 +1,7 @@
-<% set_html_page_title %>
-<h1 class="sr-only"><%= t :'.header' %></h1>
+<% title = current_exhibit.main_navigations.browse.label_or_default %>
+<% set_html_page_title(title) %>
+<h1 class="sr-only"><%= title %></h1>
<div class="browse-landing row">
<%= render collection: @searches, partial: 'spotlight/browse/search' %>
</div>