aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/error.html
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates/error.html')
-rw-r--r--youtube/templates/error.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube/templates/error.html b/youtube/templates/error.html
index 55396ad..97f8ca9 100644
--- a/youtube/templates/error.html
+++ b/youtube/templates/error.html
@@ -1,4 +1,8 @@
-{% set page_title = 'Error' %}
+{% if error_code %}
+ {% set page_title = 'Error: ' ~ error_code %}
+{% else %}
+ {% set page_title = 'Error' %}
+{% endif %}
{% if not slim %}
{% extends "base.html" %}