Skip to content

Commit bc0afab

Browse files
committed
Ensure the applciation_name from localize file is applied to titles
1 parent 12ea523 commit bc0afab

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/layouts/blacklight/base.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<%= render partial: 'shared/header_navbar' %>
4848
<main id="main-container" class="<%= container_classes %>" role="main" aria-label="<%= t('blacklight.main.aria.main_container') %>">
4949
<%= content_for(:container_header) || content_tag(:div, class: "sr-only visually-hidden") do
50-
if render_page_title == "UC Berkeley GeoData"
50+
if render_page_title == t('blacklight.application_name')
5151
content_tag(:h1, render_page_title) + content_tag(:h2, render_page_title + " Categories")
5252
else
5353
content_tag(:h1, render_page_title)

0 commit comments

Comments
 (0)