Merge pull request #598 from kubabrecka/html_title
let <title> contain site name instead of just "Discourse"
This commit is contained in:
commit
b99befc5c2
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
<meta content="" name="description">
|
<meta content="" name="description">
|
||||||
<meta content="" name="author">
|
<meta content="" name="author">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
<meta content="" name="description">
|
<meta content="" name="description">
|
||||||
<meta content="" name="author">
|
<meta content="" name="author">
|
||||||
|
|
Loading…
Reference in New Issue