Sha256: 9bf0ca31b7ce9bef64249713ccd45d0817e1be8c79b79dc562f67652dda571bc

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

module Monologue
  class Configuration
    include ConfigurationExtensions

    attr_accessor :disqus_shortname,
                    :site_name,
                    :site_subtitle,
                    :site_url,
                    :meta_description,
                    :meta_keyword,

                    :show_rss_icon,

                    :twitter_username,
                    :twitter_locale,

                    :facebook_like_locale,
                    :facebook_url,
                    :facebook_logo, #used in the open graph protocol to display an image when a post is liked

                    :google_plus_account_url,
                    :google_plusone_locale,

                    :linkedin_url,

                    :github_username,

                    :admin_force_ssl,
                    :posts_per_page,
                    :google_analytics_id,
                    :gauge_analytics_site_id,
                    :layout,
                    :sidebar

  end

  def self.config(&block)
    yield(Rails.application.config.monologue)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
monologue-0.4.1 lib/monologue/configuration.rb
monologue-0.4.0 lib/monologue/configuration.rb