Add a check for whether displaying a single page and ensure search results will only display the page excerpt.