diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/jrnl/entry_detail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/jrnl/entry_detail.html b/design/templates/jrnl/entry_detail.html index c19add1..bf83f4f 100644 --- a/design/templates/jrnl/entry_detail.html +++ b/design/templates/jrnl/entry_detail.html @@ -121,7 +121,7 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i </ul> </nav>{%endwith%}{%endwith%} </div> - <div class="article-afterward related"> + {% if object.related.all %}<div class="article-afterward related"> <h6 class="hedtinycaps">You might also enjoy</h6> <ul class="article-card-list">{% for object in related %} <li class="article-card-mini"><a href="{{object.get_absolute_url}}" title="{{object.title}}"> @@ -146,7 +146,7 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i </a> </li> {% endfor %}</ul> - </div> + </div>{%endif%} {% comment %} <div class="mailing-list--wrapper"> <h5>If you enjoyed this, you should join the mailing list…</h5> |