updated templates so details pages can use deeplinks.