From c776e1f82aabea3cdd65f64a2049af3be55ddb3b Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 13 Aug 2018 10:16:01 -0500 Subject: [PATCH] Add author thumbnail and published to YouTube comments --- src/invidious/comments.cr | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 575561d2..246f3967 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -88,15 +88,20 @@ def template_youtube_comments(comments) html += <<-END_HTML
-
+
+ +
+

- [ - ] - #{child["likeCount"]} - #{child["author"]} -

-
- #{child["content"]} - #{replies_html} + [ - ] + #{child["likeCount"]} + #{child["author"]} + - #{recode_date(Time.epoch(child["published"].as_i64))} ago +

+
+ #{child["content"]} + #{replies_html} +