private function generateSuffix(NodeInterface $node, $locale, $pagePath)
    {
        $document = $this->documentRegistry->getDocumentForNode($node, $locale);
        $route = $this->chainRouteGenerator->generate($document);
        $route->setPath(rtrim($pagePath, '/') . '/' . ltrim($route->getPath(), '/'));

        $route = $this->conflictResolver->resolve($route);

        return substr($route->getPath(), strlen(rtrim($pagePath, '/')) + 1);
    }