Page('name') in snippet when page name changes

I have a snippet that I want to use in multiple areas on my website. It uses a variable $filtered which is a collection of filtered pages that fetches the children via page('events') If the page name gets change (for example in a different language) the code breaks. Is there a different way to make this work even when the page name is changed by the client?

Look into UUIDs: Unique IDs & Permalinks | Kirby CMS

1 Like

Exactly what I was looking for:) Thanks!