2010-06-12 01:13:58 +00:00
|
|
|
Locomotive.configure do |config|
|
2011-04-04 00:03:23 +00:00
|
|
|
|
2012-02-15 17:26:58 +00:00
|
|
|
# A single locomotiveCMS instance can serve one single site or many.
|
2011-04-04 00:03:23 +00:00
|
|
|
# If you want to run many different websites, you will have to specify
|
|
|
|
# your own domain name (ex: locomotivehosting.com).
|
2010-12-30 14:24:47 +00:00
|
|
|
#
|
2011-01-03 13:44:38 +00:00
|
|
|
# Ex:
|
2011-04-05 00:18:17 +00:00
|
|
|
# config.multi_sites do |multi_sites|
|
|
|
|
# # each new website you add will have a default entry based on a subdomain
|
|
|
|
# # and the multi_site_domain value (ex: website_1.locomotivehosting.com).
|
|
|
|
# multi_sites.domain = 'example.com' #'myhostingplatform.com'
|
|
|
|
#
|
|
|
|
# # define the reserved subdomains
|
|
|
|
# # Ex:
|
|
|
|
# multi_sites.reserved_subdomains = %w(www admin email blog webmail mail support help site sites)
|
|
|
|
# end
|
|
|
|
config.multi_sites = false
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2011-04-04 00:03:23 +00:00
|
|
|
# configure how many items we display in sub menu in the "Contents" section.
|
2012-01-09 00:17:31 +00:00
|
|
|
# config.ui = {
|
2012-01-25 11:16:43 +00:00
|
|
|
# :latest_entries_nb => 5,
|
2012-01-09 00:27:13 +00:00
|
|
|
# :max_content_types => 4
|
2012-01-09 00:17:31 +00:00
|
|
|
# }
|
2011-04-04 00:03:23 +00:00
|
|
|
|
2011-06-28 15:35:25 +00:00
|
|
|
# default locale (for now, only en, de, fr, pt-BR and it are supported)
|
2010-12-30 14:24:47 +00:00
|
|
|
config.default_locale = :en
|
2011-01-18 14:24:42 +00:00
|
|
|
|
2012-01-10 01:24:34 +00:00
|
|
|
# available locales suggested to "localize" a site. You will have to pick up at least one among that list.
|
|
|
|
# config.site_locales = %w{en de fr pt-BR it nl no es ru}
|
|
|
|
|
2011-04-04 00:03:23 +00:00
|
|
|
# tell if logs are enabled. Useful for debug purpose.
|
|
|
|
config.enable_logs = true
|
|
|
|
|
2012-02-09 23:57:57 +00:00
|
|
|
# configure the e-mail address which will be shown in the DeviseMailer, NotificationMailer, ...etc
|
2012-02-15 17:26:58 +00:00
|
|
|
# if you do not put the domain name in the email, LocomotiveCMS will take the default domain name depending
|
2011-04-04 00:03:23 +00:00
|
|
|
# on your deployment target (server, Heroku, Bushido, ...etc)
|
|
|
|
#
|
|
|
|
# Ex:
|
2011-11-06 11:18:34 +00:00
|
|
|
# config.mailer_sender = 'support@example.com'
|
2011-04-04 00:03:23 +00:00
|
|
|
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
|
2011-11-06 11:18:34 +00:00
|
|
|
config.mailer_sender = 'support@example.com'
|
2011-06-28 15:35:25 +00:00
|
|
|
|
2011-07-28 13:03:13 +00:00
|
|
|
# allow apps using the engine to add their own Liquid drops, variables and similar available
|
|
|
|
# in Liquid templates, extending the assigns used while rendering.
|
|
|
|
# follow the Dependency Injection pattern
|
|
|
|
# config.context_assign_extensions = {}
|
|
|
|
|
2012-02-09 23:57:57 +00:00
|
|
|
# add extra classes other than the defined content types among a site which will potentially used by the templatized pages.
|
|
|
|
# config.models_for_templatization = %w(Product)
|
|
|
|
|
2011-06-28 15:35:25 +00:00
|
|
|
# Rack-cache settings, mainly used for the inline resizing image module. Default options:
|
|
|
|
# config.rack_cache = {
|
|
|
|
# :verbose => true,
|
|
|
|
# :metastore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/meta"), # URI encoded in case of spaces
|
|
|
|
# :entitystore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/body")
|
|
|
|
# }
|
|
|
|
# If you do want to disable it for good, just use the following syntax
|
|
|
|
# config.rack_cache = false
|
|
|
|
#
|
|
|
|
# Note: by default, rack/cache is disabled in the Heroku platform
|
|
|
|
|
2012-01-25 11:16:43 +00:00
|
|
|
end
|