making search results page for templates pretty