Only display "Photos" on album if we showed sub-albums
This commit is contained in:
parent
8d82b4defa
commit
cc04e10e5f
1 changed files with 2 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue