$def with (user, twoot, is_friend) $var title: $user.nick $var url: /$user.nick/ $if twoot.user_id != user.id:
$if is_friend: Unsubscribe $else: Follow
$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.
$:twoot.text