Browse Source

Merge pull request #455 from Lucas-C/issue-454

colorbox theme: avoiding holes due to non image/video files present in the source directory - fix #454
pull/456/head
Simon Conseil 4 years ago committed by GitHub
parent
commit
3b722ad523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sigal/themes/colorbox/templates/album.html

2
sigal/themes/colorbox/templates/album.html

@ -16,7 +16,7 @@
{% include 'map.html' %}
<div id="gallery">
{% for media in album.medias %}
{% for media in album.medias | selectattr("type", "in", ("image", "video")) %}
{% if loop.index % nb_columns == 1 %}
<div id="albums" class="row">
{% endif%}

Loading…
Cancel
Save