diff --git a/src/views/tweet.nim b/src/views/tweet.nim index 2927267..5b3cbaf 100644 --- a/src/views/tweet.nim +++ b/src/views/tweet.nim @@ -197,8 +197,8 @@ proc renderStats(stats: TweetStats; tweet: Tweet): VNode = buildHtml(tdiv(class="tweet-stats")): span(class="tweet-stat", title="Replies", "aria-label"="Replies"): icon "comment", formatStat(stats.replies) span(class="tweet-stat", title="Reposts", "aria-label"="Reposts"): icon "retweet", formatStat(stats.retweets) - a(href="/search?q=quoted_tweet_id:" & $tweet.id, title="Quotes", "aria-label"="Quotes"): - span(class="tweet-stat"): icon "quote", formatStat(stats.quotes) + span(class="tweet-stat"): + a(href="/search?q=quoted_tweet_id:" & $tweet.id, title="Quotes", "aria-label"="Quotes"): icon "quote", formatStat(stats.quotes) span(class="tweet-stat", title="Likes", "aria-label"="Likes"): icon "heart", formatStat(stats.likes) span(class="tweet-stat", title="Bookmarks", "aria-label"="Bookmarks"): icon "bookmark", formatStat(stats.bookmarks) if stats.views > -1: