Refactored search result page to share the same post feed item template with posts page.