mirror of
https://github.com/zedeus/nitter
synced 2024-11-22 01:45:22 +01:00
fixed more stupid code
This commit is contained in:
parent
90eae2669b
commit
a6bd05bca6
@ -357,6 +357,6 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|||||||
text "Show this thread"
|
text "Show this thread"
|
||||||
|
|
||||||
proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode =
|
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)
|
renderHead(prefs, cfg, req)
|
||||||
renderTweet(tweet, prefs, path)
|
renderTweet(tweet, prefs, path, mainTweet=true)
|
||||||
|
Loading…
Reference in New Issue
Block a user