Sha256: ec88cec8e207e997d22c39c627c31cc391372a34ed4323446586c879e2694b62

Contents?: true

Size: 777 Bytes

Versions: 8

Compression:

Stored size: 777 Bytes

Contents

module Spud
  module Blog
    include ActiveSupport::Configurable
    config_accessor(
      :base_layout, :news_layout, :blog_enabled,
      :news_enabled, :posts_per_page, :blog_path,
      :news_path, :enable_sitemap, :has_custom_fields,
      :cache_mode, :action_caching_duration,
      :enable_rakismet, :enable_markdown
    )
    self.base_layout = 'application'
    self.news_layout = nil
    self.news_enabled = false
    self.blog_enabled = true
    self.posts_per_page = 5
    self.blog_path = 'blog'
    self.news_path = 'news'
    self.enable_sitemap = true
    self.has_custom_fields = false
    self.cache_mode = nil #options :full_page, :action
    self.action_caching_duration = 3600
    self.enable_rakismet = false
    self.enable_markdown = false
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
spud_blog-0.9.11 lib/spud_blog/configuration.rb
tb_blog-1.0.2 lib/spud_blog/configuration.rb
tb_blog-1.0.1 lib/spud_blog/configuration.rb
tb_blog-1.0 lib/spud_blog/configuration.rb
spud_blog-0.9.10 lib/spud_blog/configuration.rb
spud_blog-0.9.9 lib/spud_blog/configuration.rb
spud_blog-0.9.8 lib/spud_blog/configuration.rb
spud_blog-0.9.7 lib/spud_blog/configuration.rb