aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/error.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/error.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/error.html')
-rw-r--r--youtube/templates/error.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube/templates/error.html b/youtube/templates/error.html
index 1f33c44..e77c92c 100644
--- a/youtube/templates/error.html
+++ b/youtube/templates/error.html
@@ -1,7 +1,6 @@
+{% set page_title = 'Error' %}
{% extends "base.html" %}
-{% block page_title %}Error{% endblock %}
-
{% block main %}
{{ error_message }}
{% endblock %}