#? stdtmpl(subsChar = '$', metaChar = '#')
#import "../database"
#import user
#import xmltree
#
#proc `$!`(text: string): string = escape(text)
#end proc
#
#proc renderMain*(body: string): string =
# result = ""
Tweeter written in Nim
${body}
#end proc
#
#proc renderLogin*(): string =
# result = ""
Login
Please type in your username...
#end proc
#
#proc renderTimeline*(username: string, messages: seq[Message]): string =
# result = ""
${$!username}'s timeline
New message
${renderMessages(messages)}
#end proc