Replace tweet endpoint with GraphQL

This commit is contained in:
Zed
2023-02-02 12:31:49 +01:00
parent 22b51b414b
commit 19adc658c3
7 changed files with 111 additions and 67 deletions

View File

@@ -347,7 +347,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
renderQuote(tweet.quote.get(), prefs, path)
if mainTweet:
p(class="tweet-published"): text &"{getTime(tweet)} · {tweet.source}"
p(class="tweet-published"): text &"{getTime(tweet)}"
if tweet.mediaTags.len > 0:
renderMediaTags(tweet.mediaTags)