{# code: language=jinja-html #} {% for breadcrumb in breadcrumbs %} {{ breadcrumb.name }} {% if not loop.last %} / {% endif %} {% endfor %} gallery {% block gallery_head %} {% endblock %}
{# If there is only one directory, don't create a path #} {% if breadcrumbs | length != 1 or subdirectories | length > 0 %} {% endif %} {% if parent or subdirectories | length > 0 %} {% endif %} {% if total_pages > 1 %} {% endif %} {% block gallery_body %} {% endblock %}