fixed more stupid code

This commit is contained in:
Mitarashi 2022-01-14 20:14:06 +02:00
parent 90eae2669b
commit a6bd05bca6

View file

@ -357,6 +357,6 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
text "Show this thread"
proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode =
return buildHtml(tdiv(class="tweet-embed")):
buildHtml(tdiv(class="tweet-embed")):
renderHead(prefs, cfg, req)
renderTweet(tweet, prefs, path)
renderTweet(tweet, prefs, path, mainTweet=true)