Delete Related page in Blueprint

Hello,

I would like to know if it is possible to delete a page from the list when you are in the panel.

When I display a “related” I would like to remove a page from the list, so that the webmaster cannot see it.

Am I doing it the right way?

Capture d’écran 2021-10-22 à 09.14.04

Capture d’écran 2021-10-22 à 09.17.04

Thanks you for Help !

You can use the query option:

      related:
        type: pages
        query: site.children.not('formulaires')

Thanks you very much.

I searched for a long time.
I didn’t think the .not exists with query

I did like this (by the name of my file in / content)

query: site.children.not ('forms')

If anyone searches here is the documentation I found: Query Language | Kirby CMS