#? stdtmpl(subsChar = '$', metaChar = '#') #import xmltree # #proc renderMain*(body: string; title="Nitter"): string = ${xmltree.escape(title)}
${body}
#end proc # #proc renderSearchPanel*(): string =
#end proc # #proc renderError*(error: string): string =
${error}
#end proc # #proc showError*(error: string): string = ${renderMain(renderError(error), title="Error | Nitter")} #end proc