如何访问 SilverStripe 模板中具有相同 url 部分的两个页面

How to access two pages with the same url part in SilverStripe template

有人知道如何解决以下问题吗?

我在 SilverStripe 中有两个不同的页面,它们的名称和 url 相同,但层次结构不同。

www.example.com/xyz/url-part

www.example.com/abc/url-part

我想以

的身份访问模板中的此页面
<% with Page('url-part') %>
    $Title
<% end_with %>

但我无法区分这两个页面。有任何想法吗?

我们开始@MartinRázus :)

<% loop $Children.filter(URLSegment, "url-part") %>$Title<% end_loop %>