{% load i18n %} {# Display a randomnly-selected set of photos from a given gallery #}

{{ gallery.title }}

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

{% if gallery.description %}

{{ gallery.description|safe }}

{% endif %} {% for photo in gallery.sample %} {{ photo.title }} {% endfor %}