class Seorel::Configuration

Public Instance Methods

initialize_defaults() click to toggle source
# File lib/seorel/configuration.rb, line 36
def initialize_defaults
  self.default_prepend_title = nil
  self.default_title = nil
  self.default_append_title = nil
  self.default_prepend_description = nil
  self.default_description = nil
  self.default_append_description = nil
  self.default_keywords = {}
  self.default_image = nil
  self.store_seorel_if = :empty
  self.default_og_metas = {}
  self.default_twitter_metas = {}
  self.enable_pagination = false
  self.pagination_format = ' - Pag. %page%'
  self.pagination_parameter_name = 'page'
end
param_name() click to toggle source
# File lib/seorel/configuration.rb, line 26
def param_name
  config.param_name.respond_to?(:call) ? config.param_name.call : config.param_name
end