mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: add short_site_description setting to be included in title tag on homepage
This commit is contained in:
@ -107,6 +107,8 @@ class ListController < ApplicationController
|
||||
@title = I18n.t('js.filters.with_topics', filter: filter_title)
|
||||
end
|
||||
@title << " - #{SiteSetting.title}"
|
||||
elsif (filter.to_s == current_homepage) && SiteSetting.short_site_description.present?
|
||||
@title = "#{SiteSetting.title} - #{SiteSetting.short_site_description}"
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user