working on a project where i pull all the related pages to help with navigation.
however i would like to exclude the current active page from the list.
what would be the best way to do this? currently toying with this function:
It depends on what pages you are trying to get, not() is probably the best option in your case. If you are trying to fetch siblings of a page, you can also set the $self parameter to false: https://getkirby.com/docs/cheatsheet/page/siblings