diff options
-rw-r--r-- | design/templates/details/entry.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index e002531..dd24b61 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -72,6 +72,13 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == <li><a href="{% url 'sketches:detail' year=obj.pub_date.year month=obj.pub_date|date:"m" slug=obj.slug %}">{{obj}}</a></li> {% endfor %}</ul> </aside>{% endif %} + {%if object.books.all %} + <aside id="field_notes"> + <h3>Recommended Reading</h3> + <ul>{% for obj in object.books.all %} + <li><a href="{% url 'books:detail' slug=obj.slug %}"><img src="{{obj.get_image_url}}" /></a></li> + {% endfor %}</ul> + </aside>{% endif %} </div> </article> {% with object.get_next_published as next %} |