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 %} - -{% endblock style %} +{% if traceback %} + {% block style %} + + {% endblock style %} +{% endif %} {% block main %} {% if traceback %}