From db56d2bc970f73da9f560f0b21e5b694a0d3a5d3 Mon Sep 17 00:00:00 2001
From: Kuba Brecka <kuba.brecka@gmail.com>
Date: Sat, 30 Mar 2013 23:16:59 +0100
Subject: [PATCH] let <title> contain site name instead of just "Discourse"

---
 app/views/layouts/application.html.erb | 2 +-
 app/views/layouts/no_js.html.erb       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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">