{% load helpers %} {% load static %} {% if request.user.is_authenticated %} {% with is_apple_os=request.META.HTTP_USER_AGENT|split:'Mac OS X'|length|divisibleby:'2' %}