{% if isLogged != 0 and isLogged != null %} {% set i = random(1005) %} {% if __SELF__.pinned == 1 %} {% else %} {% endif %} {% endif %}