diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 49e0b8036..c84ef430b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><%= content_for?(:title) ? yield(:title) + ' - ' + t(:title) : t(:title) %></title> + <title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="" name="description"> <meta content="" name="author"> diff --git a/app/views/layouts/no_js.html.erb b/app/views/layouts/no_js.html.erb index 232ef402d..3cc0db489 100644 --- a/app/views/layouts/no_js.html.erb +++ b/app/views/layouts/no_js.html.erb @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><%=t :title%></title> + <title><%=SiteSetting.title%></title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="" name="description"> <meta content="" name="author">