#for tweet in conversation.before:
${renderTweet(tweet)}
#end for
#end if
#let afterClass = if conversation.after.len > 0: "thread" else: ""
${renderTweet(conversation.tweet, class=afterClass)}
#if conversation.after.len > 0:
#for i, tweet in conversation.after:
${renderTweet(tweet, last=(i == conversation.after.high))}
#end for
#end if