Spina.configure do |config|
  # Locales
  # ===============
  # All locales your content should be available in.
  # Defaults to I18n.default_locale
  # config.locales = [:en, :nl]
  
  # Backend title
  # ===============
  # Set <title> for the admin panel. Defaults to "Spina CMS"
  # config.backend_title = "Spina CMS"

  # Backend path
  # ===============
  # Specify a backend path. Defaults to /admin.
  # config.backend_path = 'admin'

  # Deprecated current account method
  # ===============
  # Uncomment the config below to disable 'current_account'.
  # Use this if you are having a namespace conflict with the deprecated 'current_account' method.
  # config.disable_current_account = true

  # Frontend routes
  # ===============
  # Uncomment the config below to disable all frontend routes.
  # You'll have to write your own.
  # config.disable_frontend_routes = true

  # Embedded image size
  # ===============
  # Images that are inserted in rich text fields are resized automatically.
  # You can define your desired dimensions here.
  # config.embedded_image_size = [2000, 2000]

  # Thumbnail image size
  # ===============
  # Thumbnail images for the API are generated using `resize_to_fill`.
  # config.thumbnail_image_size = [400, 400]

  # Parent controller
  # ===============
  # The parent controller all frontend Spina controllers inherit from
  # Defaults to ApplicationController
  # config.frontend_parent_controller = "ApplicationController"

  # Authentication
  # ===============
  # Specify the module that handles authentication
  # You can swap this out for something like Devise, or you can use your own authentication.
  # The default is Spina::Authentication::Sessions and includes basic user management
  # config.authentication = "Spina::Authentication::Sessions"

  # Mailers
  # ===============
  # In order to send emails, you need to set a default from address.
  # You can set an optional reply_to address as well.
  # config.mailer_defaults.from = "no-reply@example.com"
  # config.mailer_defaults.reply_to = "support@example.com"

  # API
  # ===============
  # Set an API key to activate Spina's API.
  # It's highly recommended to use Rails credentials to store this API key.
  # config.api_key = Rails.application.credentials.spina_api_key
  # config.api_path = 'api'

  # Background jobs
  # ===============
  # By default, all background jobs are queued as :default
  # config.queues.page_updates = :default

  # Confetti
  # ===============
  # For people who don't appreciate confetti, you can disable that here.
  # config.party_pooper = true

  # Pages Options
  # ===============
  # The limit value for resource page pagination in the admin panel. Above this limit,
  # drag and drop sorting will be replaced by simple buttons.
  # config.resource_pages_limit_value = 25

  # Transliterations
  # ===============
  # Set provided transliterations for normalizing url slugs
  # %i( bulgarian cyrillic danish german greek latin macedonian norwegian
  #     romanian russian serbian spanish swedish ukrainian vietnamese)
  # config.transliterations = %i(latin)
end
