aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/error.html
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-06-19 21:23:25 -0400
committerJesus E <heckyel@riseup.net>2023-06-19 21:23:25 -0400
commitcc8f30eba2485d15522b6f9971182ed41185e160 (patch)
tree13303bf091e25d4d406016424a2d0708fda17b5f /youtube/templates/error.html
parent6740afd6a05507837ea2dcf6cd65abd14ff7a2cd (diff)
downloadyt-local-cc8f30eba2485d15522b6f9971182ed41185e160.tar.lz
yt-local-cc8f30eba2485d15522b6f9971182ed41185e160.tar.xz
yt-local-cc8f30eba2485d15522b6f9971182ed41185e160.zip
Relax error and send error_code to template
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" %}