[Solved] Page name YYYYMMDDHHmmss in array

Hello,

My page names are YYYYMMDDHHmmss.md
Example page name is: 20241204090123

My query is:

 {{#each @p in {page where relations and @p.name in relations}}}
* [[{{@p.name}}|{{@p.title}}]
{{/each}}

I tested this yaml:

---
title: example
relations: '20241204090123'
---

And I tested this yaml:

---
title: example
relations: ['20241204090123', ]
---

Any work, no results

No work no find any.

Very thanks.

I answer to myself.
I was putting the page variable wrong, instead of @p.name I should have used @page.

It would look like this:

{{#each @p in {page where relations and @page.name in relations}}}
* [[{{@p.name}}|{{@p.title}}]
{{/each}}

Thanks for watching.