@@ -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> |