Fallback to site_hostname when site_title is empty (#4394)
This commit is contained in:
parent
5bf4838e2f
commit
bb96ba13cf
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
module InstanceHelper
|
||||
def site_title
|
||||
Setting.site_title.to_s
|
||||
Setting.site_title.presence || site_hostname
|
||||
end
|
||||
|
||||
def site_hostname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue