aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
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 %}