diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 49e0b80361f..c84ef430b6d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -2,7 +2,7 @@ - <%= content_for?(:title) ? yield(:title) + ' - ' + t(:title) : t(:title) %> + <%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %> diff --git a/app/views/layouts/no_js.html.erb b/app/views/layouts/no_js.html.erb index 232ef402d4b..3cc0db48950 100644 --- a/app/views/layouts/no_js.html.erb +++ b/app/views/layouts/no_js.html.erb @@ -2,7 +2,7 @@ - <%=t :title%> + <%=SiteSetting.title%>