mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 13:37:40 +03:00
fix post.gallery.len()
This commit is contained in:
parent
fb39759dd3
commit
f39cf81e5b
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
|||
</figcaption>
|
||||
</figure>
|
||||
{%- endfor %}
|
||||
<div class="gallery_length" tabindex="-1">gallery<br>({{ post.len() }} images)</div>
|
||||
<div class="gallery_length" tabindex="-1">gallery<br>({{ post.gallery.len() }} images)</div>
|
||||
</div>
|
||||
{% else if post.post_type == "link" %}
|
||||
<a id="post_url" href="{{ post.media.url }}" rel="nofollow">{{ post.media.url }}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue