I have multiple pages with different content type. All the pages 1st path component is same. So, I want to define a custom twig page template to these pages by their 1st path component.
Eg. I have pages with the URL like program/one, program/two, program/three and program/ten from the different content type and I want to apply
page--program.html.twig template only these specific pages by checking their 1st path component (eg. program/*).
Anyone help me, how to do this?