]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/author.html
On the author page, don't display the author notes for each quote
[djsite.git] / quotes / templates / quotes / author.html
1 {% extends 'quotes/base.html' %}
2
3 {% block title %}Quotes for {{ author.name }}{% endblock %}
4
5 {% block body %}
6
7 <h1>{{ author.name }}</h1>
8
9 {% include "quotes/author_notes.html" with author=author %}
10
11 <p>All the quotes for {{ author.name }}:<p>
12
13 {% for quote in author.quote_set.all %}
14   {% include "quotes/display.html" with quote=quote skip_author_notes=True %}
15 {% endfor %}
16
17 {% endblock %}