diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 19:24:42 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 19:24:42 -0700 |
commit | d9517a33223d44f2c52f03a48cf79822ecd433a4 (patch) | |
tree | 20b6cdb398d7326a4c29e88d80927e9fd042b64f /youtube/templates/comments.html | |
parent | 102c21132a4ecb29641c70fb2d46aff19638e9da (diff) | |
download | yt-local-d9517a33223d44f2c52f03a48cf79822ecd433a4.tar.lz yt-local-d9517a33223d44f2c52f03a48cf79822ecd433a4.tar.xz yt-local-d9517a33223d44f2c52f03a48cf79822ecd433a4.zip |
Layout: Put related videos below video when page is too small
Diffstat (limited to 'youtube/templates/comments.html')
-rw-r--r-- | youtube/templates/comments.html | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html index 82276b8..20cde4e 100644 --- a/youtube/templates/comments.html +++ b/youtube/templates/comments.html @@ -29,21 +29,19 @@ {% endmacro %} {% macro video_comments(comments_info) %} - <section class="comments-area"> - <div class="comment-links"> - {% for link_text, link_url in comments_info['comment_links'] %} - <a class="sort-button" href="{{ link_url }}">{{ link_text }}</a> - {% endfor %} - </div> - <div class="comments"> - {% for comment in comments_info['comments'] %} - {{ render_comment(comment, comments_info['include_avatars']) }} - {% endfor %} - </div> - {% if 'more_comments_url' is in comments_info %} - <a class="page-button more-comments" href="{{ comments_info['more_comments_url'] }}">More comments</a> - {% endif %} - </section> + <div class="comment-links"> + {% for link_text, link_url in comments_info['comment_links'] %} + <a class="sort-button" href="{{ link_url }}">{{ link_text }}</a> + {% endfor %} + </div> + <div class="comments"> + {% for comment in comments_info['comments'] %} + {{ render_comment(comment, comments_info['include_avatars']) }} + {% endfor %} + </div> + {% if 'more_comments_url' is in comments_info %} + <a class="page-button more-comments" href="{{ comments_info['more_comments_url'] }}">More comments</a> + {% endif %} {% endmacro %} {% macro comment_posting_box(info) %} |