Setting up search result templates