aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/watch.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-19 22:27:10 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-19 22:27:10 -0700
commit8cad77ad0d7e0a0d07629087e2ee1709688cb58d (patch)
treea0fbcb06df86e8174d1d28a280c8748fcec7516e /youtube/templates/watch.html
parentb854dab314267bd7f4677520b83a4e8abd0a1a6a (diff)
downloadyt-local-8cad77ad0d7e0a0d07629087e2ee1709688cb58d.tar.lz
yt-local-8cad77ad0d7e0a0d07629087e2ee1709688cb58d.tar.xz
yt-local-8cad77ad0d7e0a0d07629087e2ee1709688cb58d.zip
Convert comments to flask framework
Diffstat (limited to 'youtube/templates/watch.html')
-rw-r--r--youtube/templates/watch.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 85c87ae..d61997f 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
+{% import "comments.html" as comments %}
{% block page_title %}{{ title }}{% endblock %}
{% block style %}
main{
@@ -211,7 +212,10 @@
</table>
{% endif %}
</div>
-{{ comments|safe }}
+
+ {% if comments_info %}
+ {{ comments.video_comments(comments_info) }}
+ {% endif %}
</article>