#                                                                        #
# "Frontend" subroutes configuration for the Neos.Neos package          #
#                                                                        #

-
  name: 'Homepage'
  uriPattern: '{node}'
  routeParts:
    'node':
      options:
        onlyMatchSiteNodes: true
  appendExceedingArguments: true

-
  name: 'content with URI suffix'
  uriPattern: '{node}<defaultUriSuffix>'
  appendExceedingArguments: true

# This route is just a dummy, it should always be last as it should never be used to actually match a incoming request.
-
  name:          'Dummy wireframe route to enable uri resolution while in wireframe mode.'
  uriPattern:    '{node}<defaultUriSuffix>'
  defaults:
    '@action':     'showWireframe'
  appendExceedingArguments: true
