aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-06-14 12:08:28 -0500
committerJesús <heckyel@hyperbola.info>2021-06-14 12:08:28 -0500
commit999173b1ba43f4535b6507e10c8cba2c01d2180f (patch)
tree3dcab9b46892d0eb4bf3de6265d5ba93346734ed /youtube
parent31901905e34bf29339272379bee996bb860f3568 (diff)
downloadyt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.tar.lz
yt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.tar.xz
yt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.zip
[error.html]: fix set style
Diffstat (limited to 'youtube')
-rw-r--r--youtube/templates/error.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/youtube/templates/error.html b/youtube/templates/error.html
index 9ae8909..55396ad 100644
--- a/youtube/templates/error.html
+++ b/youtube/templates/error.html
@@ -4,9 +4,11 @@
{% extends "base.html" %}
{% endif %}
-{% block style %}
- <link href="/youtube.com/static/home.css" rel="stylesheet">
-{% endblock style %}
+{% if traceback %}
+ {% block style %}
+ <link href="/youtube.com/static/home.css" rel="stylesheet">
+ {% endblock style %}
+{% endif %}
{% block main %}
{% if traceback %}