{% if current_user.is_authenticated and current_user.theme and current_user.theme.is_active %} {% endif %} {% block extra_css %}{% endblock %} {# CSRF token for fetch()-based POSTs (vote API, future AJAX endpoints) #} {% if csrf_token is defined %} {% endif %}