aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/comments.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-12-18 19:39:16 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-12-18 19:39:16 -0800
commit98777ee82561ae205f156a7f8497728aecfa080c (patch)
treeaaaf3e82dcdac00abda588b6cfb15e5382a49cd0 /youtube/templates/comments.html
parentee0a118a6c7ed0e371fed18dcdace1f18a3cabf6 (diff)
downloadyt-local-98777ee82561ae205f156a7f8497728aecfa080c.tar.lz
yt-local-98777ee82561ae205f156a7f8497728aecfa080c.tar.xz
yt-local-98777ee82561ae205f156a7f8497728aecfa080c.zip
Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency
Diffstat (limited to 'youtube/templates/comments.html')
-rw-r--r--youtube/templates/comments.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html
index 20cde4e..396852a 100644
--- a/youtube/templates/comments.html
+++ b/youtube/templates/comments.html
@@ -12,11 +12,11 @@
<a class="author" href="{{ comment['author_url'] }}" title="{{ comment['author'] }}">{{ comment['author'] }}</a>
</address>
<a class="permalink" href="{{ comment['permalink'] }}" title="permalink">
- <time datetime="">{{ comment['published'] }}</time>
+ <time datetime="">{{ comment['time_published'] }}</time>
</a>
<span class="text">{{ common_elements.text_runs(comment['text']) }}</span>
- <span class="likes">{{ comment['likes_text'] if comment['likes'] else ''}}</span>
+ <span class="likes">{{ comment['likes_text'] if comment['like_count'] else ''}}</span>
<div class="bottom-row">
<a href="{{ comment['replies_url'] }}" class="replies">{{ comment['view_replies_text'] }}</a>
{% if 'delete_url' is in comment %}