Sha256: aaba1cda497f46b86492035101a986912291ab6f181c51c66569a8f2655a964b

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

Refinery::Pages.configure do |config|
  # Configure specific page templates
  # config.types.register :home do |home|
  #   home.parts = %w[intro body]
  # end

  # Configure global page default parts
  # config.default_parts = <%= Refinery::Pages.default_parts.inspect %>

  # Configure how many pages per page should be displayed when a dialog is presented that contains a links to pages
  # config.pages_per_dialog = <%= Refinery::Pages.pages_per_dialog.inspect %>

  # Configure how many pages per page should be displayed in the list of pages in the admin area
  # config.pages_per_admin_index = <%= Refinery::Pages.pages_per_admin_index.inspect %>

  # Configure whether to strip diacritics from Western characters
  # config.approximate_ascii = <%= Refinery::Pages.approximate_ascii.inspect %>

  # Configure whether to strip non-ASCII characters from the friendly_id string
  # config.strip_non_ascii = <%= Refinery::Pages.strip_non_ascii.inspect %>

  # Set this to true if you want to override slug which automatically gets generated
  # when you create a page
  # config.use_custom_slugs = <%= Refinery::Pages.use_custom_slugs.inspect %>

  # Set this to true if you want backend pages to be cached
  # config.cache_pages_backend = <%= Refinery::Pages.cache_pages_backend.inspect %>

  # Set this to true to activate full-page-cache
  # config.cache_pages_full = <%= Refinery::Pages.cache_pages_full.inspect %>

  # Set this to true to fully expand the page hierarchy in the admin
  # config.auto_expand_admin_tree = <%= Refinery::Pages.auto_expand_admin_tree.inspect %>

  # config.layout_template_whitelist = <%= Refinery::Pages.layout_template_whitelist.inspect %>

  # config.view_template_whitelist = <%= Refinery::Pages.view_template_whitelist.inspect %>

  # config.use_layout_templates = <%= Refinery::Pages.use_layout_templates.inspect %>

  # config.use_view_templates = <%= Refinery::Pages.use_view_templates.inspect %>

  # config.absolute_page_links = <%= Refinery::Pages.absolute_page_links.inspect %>
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-pages-2.0.1 lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb
refinerycms-pages-2.0.0 lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb