{% extends "base.html" %} {% block breadcrumb %} Inicio {% for bc in breadcrumbs %} 〉 {{bc.name}} {% endfor %} {% endblock %} {% load static %} {% load galeria %} {% block content %}
{% if photos %} {% for photo in photos %}
{{photo.title}}
{% endfor %} {% elif results %} {% for result in results %}
{{result.title}}
{% endfor %} {% elif albums %} {% for album in albums %} {% if album.the_photo %}
{{album.name}}
{% endif %} {% endfor %} {% else %}
{{message}}
{% endif %}
{% endblock %}