robotstxt.admin_settings_form:
  path: '/admin/config/search/robotstxt'
  defaults:
    _form: '\Drupal\robotstxt\Form\RobotsTxtAdminSettingsForm'
    _title: 'RobotsTxt'
  requirements:
    _permission: 'administer robots.txt'

robotstxt.content:
  path: '/robots.txt'
  defaults:
    _controller: '\Drupal\robotstxt\Controller\RobotsTxtController::content'
    _disable_route_normalizer: 'TRUE'
  requirements:
    # The robots.txt page should be opened for all.
    _access: 'TRUE'
