From 896d65fd218fcba08fc719c4c73fc72b8e61655b Mon Sep 17 00:00:00 2001 From: PrivacyDev Date: Mon, 5 Jun 2023 19:42:31 -0400 Subject: [PATCH] turned quote stat in tweet-stat into a clickable link to the quotes --- src/views/tweet.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/tweet.nim b/src/views/tweet.nim index df2e023..c24b1b7 100644 --- a/src/views/tweet.nim +++ b/src/views/tweet.nim @@ -187,7 +187,7 @@ proc renderStats(stats: TweetStats; views: string; tweet: Tweet): VNode = span(class="tweet-stat"): icon "comment", formatStat(stats.replies) a(href=getLink(tweet, false) & "/retweeters"): span(class="tweet-stat"): icon "retweet", formatStat(stats.retweets) - a(href=getLink(tweet)): + a(href="/search?q=quoted_tweet_id:" & $tweet.id): span(class="tweet-stat"): icon "quote", formatStat(stats.quotes) a(href=getLink(tweet, false) & "/favoriters"): span(class="tweet-stat"): icon "heart", formatStat(stats.likes)