{% load url from future %} Display: {% if current_photo_attr == 'photos' %} {% else %} {% endif %}only with photos