#{extends 'main.html' /} #{set title:'Search results' /} Search Search in ${documentCount} documents #{if hits.hits.size() > 0} #{list hits.hits, as:'hit'} #{a @Application.show(hit.id)}${hit.id}#{/a} added ${hit.source.dateAdded} #{/list} #{/if} #{else} Sorry, nothing found, please retry #{/else}