#? stdtmpl(subsChar = '$', metaChar = '#')
#import xmltree, strutils, uri
#import ../types, ../formatters, ../utils
#include "tweet.nimf"
#
#proc renderProfileCard*(profile: Profile): string =
#end proc
#
#proc renderBanner(profile: Profile): string =
#if "#" in profile.banner:
#else:
#let url = getSigUrl(profile.banner, "pic")
${genImg(profile.banner)}
#end if
#end proc
#
#proc renderTimeline*(timeline: Timeline; profile: Profile; beginning: bool): string =
#end proc
#
#proc renderProfile*(profile: Profile; timeline: Timeline; beginning: bool): string =
${renderBanner(profile)}
${renderProfileCard(profile)}
${renderTimeline(timeline, profile, beginning)}
#end proc
#
#proc renderConversation*(conversation: Conversation): string =
#end proc