Browse Source

Fix generation of index for private galleries

master
Marien Fressinaud 5 years ago
parent
commit
8753f11a2e
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Herisson/index.html.j2

+ 4
- 4
Herisson/index.html.j2 View File

@@ -22,16 +22,16 @@
<h2>Albums</h2>
<div class="galleries">
{% for gallery in galleries -%}
<div class="gallery-cover">
{% if not gallery.private %}
{% if not gallery.private %}
<div class="gallery-cover">
<a href="{{ gallery.url }}">
<img src="{{ gallery.cover_photo.thumb_url }}" alt="" />
<span class="gallery-cover-name">
{{ gallery.name }}
</span>
</a>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>

Loading…
Cancel
Save