1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Add source label to main tweets

This commit is contained in:
110Percent
2022-02-26 13:37:17 -05:00
parent ecb6fe4162
commit b031ea762e
3 changed files with 5 additions and 1 deletions

View File

@@ -344,7 +344,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)
p(class="tweet-published"): text getTime(tweet) & " · " & tweet.source
if tweet.mediaTags.len > 0:
renderMediaTags(tweet.mediaTags)