seperated out detail page in different templates