For a one page website, I have modified the homepage to index all pages instead of posts. For some of the pages I want to create a custom template (like page-slug.php). But, these template only get loaded when on a singular page, not on index/archive pages.
A solution to this problem would be very much appreciated. THX!