Only display "Photos" on album if we showed sub-albums

This commit is contained in:
Nick Pegg 2024-08-04 18:01:21 -07:00
parent 8d82b4defa
commit cc04e10e5f

View file

@ -35,9 +35,10 @@
{% endfor %}
</div>
{% endif %}
{% if album_dir.images %}
{% if album_dir.children %}
<h2>Photos</h2>
{% endif %}
<div id="album-photos">
{% for image in album_dir.images %}
<div class="thumbnail">