{% extends "base.html" %} {% from "_icons.html" import icon %} {% set title = tr(album, 'title') %} {% set description = tr(album, 'description') or t('gallery.intro') %} {% set cv = album.cover() %} {% set og_image = abs_url(media_url(cv.web)) if cv else '' %} {% block crumbs %}/{{ t('nav.gallery') }}/{{ tr(album, 'title') }}{% endblock %} {% block lead %}
{% if tr(album, 'description') %}{{ tr(album, 'description') }} · {% endif %}{{ photos|length }} {{ t('gallery.photos') }}
{% endblock %} {% block content %}{{ t('gallery.empty') }}
{% endif %}