$def with(book, size="M") $code: def aname(a): if isinstance(a, basestring): return a else: return a.name $ title = book.title_prefix + " " + book.title $ olid = book.key.split("/")[2] $if size == "M":
$title
$:macros.TruncateString(title, 70)
$else: $title