$def with (query, formatted_query, result, ipa_pronunciation, cmu_pronunciation, definition, rhymes, web_results, code_projects, code_files, books) $var breadcrumbs = ("search", "Search")
$if result:
$formatted_query
$result
$if definition:

$ipa_pronunciation, $definition
rhymes: $", ".join(rhymes)

Web

$if web_results: $else:

0 results

Code

$if code_projects.most_common()[0][0]: $else:

0 results

$#

Books

$#

found $books.pop("found") document out of $books.pop("out_of"), $# search took $books.pop("search_time_ms")ms

$# $# XXX
$pformat(books)