I created a custom content type "Project" with multiple properties in the content hub. Those properties are - "Project Manager", "Project Sponsor", "Project Health". Then I created multiple project sites (all sub sites) under "Projects" site collection. Each site has a custom list with the custom content type, "Project".
Now I want want to create a query that will return all project sites based on filters selected from a refiner.
The issue: When I created a query it is returning all custom lists from all project sub sites. But here my goal is not to returning the custom lists. Instead of that I want to return the project sites. I understand that I may need to create a custom display template so that instead of custom lists, the template will redirect to the parent project sites.
Can anyone please give me any suggestion how to create the display template?