aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/post_comment.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-21 22:50:57 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-21 22:50:57 -0700
commit74cf3b2135661ae17b4e390c91182c673645cad7 (patch)
treed833aa5058f50c157de961585bbae4e8f33bc75f /youtube/templates/post_comment.html
parentc5827a3bb1a6b2eb6cfbc7d9104bd73514311246 (diff)
downloadyt-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/post_comment.html')
-rw-r--r--youtube/templates/post_comment.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube/templates/post_comment.html b/youtube/templates/post_comment.html
index 98316ab..67c54f1 100644
--- a/youtube/templates/post_comment.html
+++ b/youtube/templates/post_comment.html
@@ -1,8 +1,7 @@
+{% set page_title = 'Post reply' if replying else 'Post comment' %}
{% extends "base.html" %}
{% import "comments.html" as comments %}
-{% block page_title %}{{ 'Post reply' if replying else 'Post comment' }}{% endblock %}
-
{% block style %}
main{
display: grid;