Sha256: 30a08d7f69ec07029e0d2bf3cdeedc4b8fb00898389ef2757eebc867d7999015

Contents?: true

Size: 1.82 KB

Versions: 7

Compression:

Stored size: 1.82 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', 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

7 entries across 7 versions & 1 rubygems

Version Path
contour-0.10.0 lib/generators/templates/contour.rb
contour-0.9.4 lib/generators/templates/contour.rb
contour-0.9.3 lib/generators/templates/contour.rb
contour-0.9.2 lib/generators/templates/contour.rb
contour-0.9.1 lib/generators/templates/contour.rb
contour-0.9.0 lib/generators/templates/contour.rb
contour-0.8.4 lib/generators/templates/contour.rb