{% extends "photologue/root.html" %} {% load url from future %} {% load i18n %} {% block title %}{% trans "Latest Photo Galleries" %}{% endblock %} {% block content %} {% if latest %} {% for gallery in latest %}

{{ gallery.title }}

{% trans "Published" %} {{ gallery.date_added }}

{% if gallery.description %}

{{ gallery.description|safe }}

{% endif %} {% for photo in gallery.sample %} {{ photo.title }} {% endfor %}
{% endfor %} {% else %}
{% trans "No galleries were found" %}.
{% endif %}
{% trans "View all galleries" %}.
{% endblock %}