truncate long posts in discover
This commit is contained in:
parent
b9f2173f27
commit
dc141b0951
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@
|
|||
<section>
|
||||
<article>
|
||||
<details id="section-popular-posts" class="auto-keep-collapse" open>
|
||||
<summary>{% trans 'Popular Posts' %}</summary>
|
||||
<summary>{% trans 'Recent Posts' %}</summary>
|
||||
<div style="font-size:80%">{% include "posts.html" with posts=popular_posts %}</div>
|
||||
</details>
|
||||
</article>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{{ post.content|bleach:"a,p,span,br,div,img"|default:"" }}
|
||||
<div class="tldr" _="on click toggle .tldr on me">{{ post.content|bleach:"a,p,span,br,div,img"|default:"" }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue