Module: RocketCMS::SeoHelpers

Extended by:
ActiveSupport::Concern
Included in:
Models::Seo, Seoable
Defined in:
lib/rocket_cms/seo_helpers.rb

Instance Method Summary collapse

Instance Method Details

#get_og_titleObject


8
9
10
# File 'lib/rocket_cms/seo_helpers.rb', line 8

def get_og_title
  og_title.blank? ? name : og_title
end

#page_titleObject


4
5
6
# File 'lib/rocket_cms/seo_helpers.rb', line 4

def page_title
  title.blank? ? name : title
end