$def with (user, twoots, is_friend) $var title: $user.nick $if len(twoots): $var class: t$twoots[0].id $else: $var class: t0

$if is_friend: Unsubscribe $else: Follow

    $for twoot in twoots:
  1. $if user and twoot.user_id == user.id: $twoot.nick $else: $twoot.nick $:twoot.text $if "reply" in twoot: in reply to $twoot.reply.nick, $twoot.created_human.