diff options
author | Jesús <heckyel@hyperbola.info> | 2021-06-14 12:08:28 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-06-14 12:08:28 -0500 |
commit | 999173b1ba43f4535b6507e10c8cba2c01d2180f (patch) | |
tree | 3dcab9b46892d0eb4bf3de6265d5ba93346734ed /youtube/templates | |
parent | 31901905e34bf29339272379bee996bb860f3568 (diff) | |
download | yt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.tar.lz yt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.tar.xz yt-local-999173b1ba43f4535b6507e10c8cba2c01d2180f.zip |
[error.html]: fix set style
Diffstat (limited to 'youtube/templates')
-rw-r--r-- | youtube/templates/error.html | 8 |
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 %} |