diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 22:50:57 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 22:50:57 -0700 |
commit | 74cf3b2135661ae17b4e390c91182c673645cad7 (patch) | |
tree | d833aa5058f50c157de961585bbae4e8f33bc75f /youtube/templates/comments_page.html | |
parent | c5827a3bb1a6b2eb6cfbc7d9104bd73514311246 (diff) | |
download | yt-local-74cf3b2135661ae17b4e390c91182c673645cad7.tar.lz yt-local-74cf3b2135661ae17b4e390c91182c673645cad7.tar.xz yt-local-74cf3b2135661ae17b4e390c91182c673645cad7.zip |
Use variable to set title on base template instead of block
Diffstat (limited to 'youtube/templates/comments_page.html')
-rw-r--r-- | youtube/templates/comments_page.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube/templates/comments_page.html b/youtube/templates/comments_page.html index c7947fa..68c8537 100644 --- a/youtube/templates/comments_page.html +++ b/youtube/templates/comments_page.html @@ -1,9 +1,7 @@ +{% set page_title = ('Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number']) %} {% extends "base.html" %} {% import "comments.html" as comments %} -{% block page_title %}{{ 'Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number'] }}{% endblock %} - - {% block style %} main{ display:grid; |