diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-19 22:27:10 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-19 22:27:10 -0700 |
commit | 8cad77ad0d7e0a0d07629087e2ee1709688cb58d (patch) | |
tree | a0fbcb06df86e8174d1d28a280c8748fcec7516e /youtube/templates/watch.html | |
parent | b854dab314267bd7f4677520b83a4e8abd0a1a6a (diff) | |
download | yt-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.html | 6 |
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> |