{% load bookwyrm_tags %}
{% for list in lists %}

{{ list.name }} {% include 'snippets/privacy-icons.html' with item=list %}

{% for book in list.listitem_set.all|slice:5 %} {% include 'snippets/book_cover.html' with book=book.book size="small" %} {% endfor %}
{% if list.description %}{{ list.description | to_markdown | safe | truncatewords_html:20 }}{% endif %}

{% include 'lists/created_text.html' with list=list %}

{% endfor %}