setContent() error

You would have to do it like this:

'content' => page('impressum') ? page('impressum')->content()->toArray() : null

Although I don’t see much purpose in using a route if the page exists.

No, that’s true, it’s some leftover code from a previous version. :smiley: