Use Setting.site_title value for og:site_name
occurrences (#1194)
* Add helper method to return Setting.site_title * Use site_title helper in application layout * Use site_title value for og:site_name
This commit is contained in:
parent
a345eb44fc
commit
ca44c13455
6 changed files with 26 additions and 4 deletions
7
app/helpers/site_title_helper.rb
Normal file
7
app/helpers/site_title_helper.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module SiteTitleHelper
|
||||
def site_title
|
||||
Setting.site_title.to_s
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue