Browse Source

Fix generation of index for private galleries

master
Marien Fressinaud 6 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

<h2>Albums</h2> <h2>Albums</h2>
<div class="galleries"> <div class="galleries">
{% for gallery in 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 }}"> <a href="{{ gallery.url }}">
<img src="{{ gallery.cover_photo.thumb_url }}" alt="" /> <img src="{{ gallery.cover_photo.thumb_url }}" alt="" />
<span class="gallery-cover-name"> <span class="gallery-cover-name">
{{ gallery.name }} {{ gallery.name }}
</span> </span>
</a> </a>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>

Loading…
Cancel
Save