mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 21:47:40 +03:00
iterate over length of gallery
This commit is contained in:
parent
07b367d304
commit
7b5643c27e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@
|
|||
<div class="gallery_overlay" title="Hide overlay">
|
||||
<div class="gallery_length" tabindex="-1">gallery<br>({{ post.gallery.len() }} images)</div>
|
||||
<div class="gallery_progress" tabindex="-1">
|
||||
{% for _ in post.gallery %}
|
||||
{% for _ in 0..post.gallery.len() %}
|
||||
<div class="gallery_dot"></div>
|
||||
{% endfor %}
|
||||
<div class="gallery_dot_indicator"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue