diff --git a/templates/_sidebar.html b/templates/_sidebar.html index 293d403445..e96459a1ed 100644 --- a/templates/_sidebar.html +++ b/templates/_sidebar.html @@ -1,7 +1,7 @@ {% load i18n %} - {% if mobile %} + {% if request.user_agent.is_mobile %} {{title}} {{heTitle}} {% endif %} @@ -42,7 +42,7 @@ {{heTitle}}