526dcbbcccc9a1f8771617acd09e93841942cc35
[wolnelektury.git] / apps / catalogue / templates / catalogue / snippets / book_list.html
1 {% load catalogue_tags %}
2
3 {% book_tree orphans books_by_parent %}
4 {% for author, group in books_by_author.items %}
5     {% if group %}
6         <a name="{{ author.slug }}"></a>
7         <div class="group">
8             <h2><a href="{{ author.get_absolute_url }}">{{ author }}</a></h2>
9             {% book_tree group books_by_parent %}
10         </div>
11     {% endif %}
12 {% endfor %}