{% import "photo_card.html" as photo_card %} {% import "header.html" as header %} Album {{album.display_name}} {{header.make_header(session=session)}}

{{album.title}}

{{album.description}}

{% set parent=album.parent() %} {% if parent %}

Parent: {{parent.display_name}}

{% else %}

Parent: Albums

{% endif %} {% set sub_albums = album.children() %} {% if sub_albums %}

Sub-albums

{% endif %} {% set photos = album.photos() %} Download: {% if photos %} These files ({{album.sum_bytes(recurse=False, string=True)}}) {% endif %} {% if sub_albums %} Include children ({{album.sum_bytes(recurse=True, string=True)}}) {% endif %} {% if photos %}

Photos

{% if view != "list" %} List view {% else %} Grid view {% endif %} {% endif %}