diff options
Diffstat (limited to 'design/templates/essays/essay_detail.html')
-rw-r--r-- | design/templates/essays/essay_detail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index 9aae254..7e83f6f 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/essay_detail.html @@ -49,10 +49,10 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i <div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%}" itemprop="articleBody"> {{object.body_html|safe|smartypants}} </div> - <div class="afterward"> + {% if object.afterward %}<div class="afterward"> <h4>Afterward</h4> {{object.afterword_html|smartypants|safe}} - </div> + </div>{% endif%} {%if wildlife or object.field_notes.all or object.books.all %}<div class="entry-footer">{%if wildlife %} <aside id="wildlife"> <h3>Fauna and Flora</h3> |