Sha256: 13eb7823a7d290825e0aa6441ed843513ca527f4c79649ce60dfbb0f73dd4656

Contents?: true

Size: 1.85 KB

Versions: 6

Compression:

Stored size: 1.85 KB

Contents

# Use to configure basic appearance of template
Contour.setup do |config|
  
  # Enter your application name here. The name will be displayed in the title of all pages, ex: AppName - PageTitle
  # config.application_name = 'Application Name'

  # If you want to style your name using html you can do so here, ex: <b>App</b>Name
  # config.application_name_html = ''
  
  # Enter your application version here. Do not include a trailing backslash. Recommend using a predefined constant
  # config.application_version = ''
  
  # Enter your application header background image here.
  # config.header_background_image = 'rails.png'

  # Enter your application header title image here.
  # config.header_title_image = ''
  
  # Enter the items you wish to see in the menu
  # config.menu_items = 
  # [
  #   {
  #     name: 'Login', display: 'not_signed_in', path: 'new_user_session_path', position: 'right', condition: 'true',
  #     links: [{ name: 'Sign Up', path: 'new_user_registration_path' }]
  #   },
  #   {
  #     name: 'current_user.name', eval: true, display: 'signed_in', path: 'user_path(current_user)', position: 'right', condition: 'true',
  #     links: [{ html: '"<div class=\"small\" style=\"color:#bbb\">"+current_user.email+"</div>"', eval: true },
  #             { name: 'Authentications', path: 'authentications_path', condition: 'not PROVIDERS.blank?' },
  #             { html: "<br />" },
  #             { name: 'Logout', path: 'destroy_user_session_path' }]
  #   },
  #   {
  #     name: 'Home', display: 'always', path: 'root_path', position: 'left', condition: 'true', image: '', image_options: {},
  #     links: []
  #   }
  # ]
  
  # Enter an address of a valid RSS Feed if you would like to see news on the sign in page.
  # config.news_feed = ''
  
  # Enter the max number of items you want to see in the news feed.
  # config.news_feed_items = 5
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contour-0.8.3 lib/generators/templates/contour.rb
contour-0.8.2 lib/generators/templates/contour.rb
contour-0.8.1 lib/generators/templates/contour.rb
contour-0.8.0 lib/generators/templates/contour.rb
contour-0.7.2 lib/generators/templates/contour.rb
contour-0.7.1 lib/generators/templates/contour.rb