Panel and query: site.index statement

I’m currently just starting to discover Kirby and I’m asking myself this beginner question:
For a site with a deep tree structure let’s say 5 to 6 levels,
I saw that it is possible to create an index in the blueprint using the query: site.index statement
My question is whether it is possible to apply some sort of indentation to the panel list to reflect the hierarchy of parent>child pages…
Many thanks in advance

In the context of a pages field, you get a sort of tree structure if you don’t add the query option, like this:

As soon as you use the query option, you get a flat list, though.

Do you mean this could be set in the site.yml blueprint ?

No, I meant in a pages field query.

But maybe let’s go a step back. Please post the context where you are using that site.index query.