diff --git a/project/templates/blocks/banner.html b/project/templates/blocks/banner.html index 6f38a3fc..64fa6728 100644 --- a/project/templates/blocks/banner.html +++ b/project/templates/blocks/banner.html @@ -13,11 +13,11 @@ {% endif %} display: none; background-color: {{ banner.color|default:'white' }};"> - {# if request.user_agent.is_mobile #} - - - - {# else #} + {% if request.user_agent.is_mobile %} + + {% else %} {% endif %}