Rendering search results with handlebar templates