mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-28 09:38:10 +00: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>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{%- endfor %}
|
{%- 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>
|
</div>
|
||||||
{% else if post.post_type == "link" %}
|
{% else if post.post_type == "link" %}
|
||||||
<a id="post_url" href="{{ post.media.url }}" rel="nofollow">{{ post.media.url }}</a>
|
<a id="post_url" href="{{ post.media.url }}" rel="nofollow">{{ post.media.url }}</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue