{% if sub %}
{% set image=sub.sidebar_url %}
{% elif HOLIDAY_EVENT %}
{% set image = macros.random_image("assets/event/images/sidebar") %}
{% else %}
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
{% endif %}
{% if v and v.admin_level %}
Current registered users: {{current_registered_users()}}
{% endif %}
{% if request.path != '/sidebar' %}
{% if v and (v.is_banned or v.agendaposter) %}
{% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %}
{% endif %}
{% endif %}