Some checking to reduce template fail when there's no result. We should probably always have a search result though.
Moving superfluous time/date data from the search results and creating helper functions in Jinja.