mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:20:43 +08:00
let <title> contain site name instead of just "Discourse"
This commit is contained in:
parent
5bf3a0eaf3
commit
db56d2bc97
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user