$def with (query_string, results, total)

Query: $query_string

$total results $for result in results: $#the colon is necessary as we are passing in raw HTML. sanitation $#has been done already, so there are (probably) no security issues.

$:result