diff options
Diffstat (limited to 'app/posts/templates')
-rw-r--r-- | app/posts/templates/posts/src_detail.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/posts/templates/posts/src_detail.html b/app/posts/templates/posts/src_detail.html index 0257598..8e58b3b 100644 --- a/app/posts/templates/posts/src_detail.html +++ b/app/posts/templates/posts/src_detail.html @@ -83,11 +83,10 @@ </ul> </nav>{%endwith%}{%endwith%} {%endif%} - {% if object.related.all %}<div class="article-afterward related"> <div class="related-bottom"> <h6 class="hedtinycaps">You might also enjoy</h6> - <ul class="article-card-list">{% for object in object.related.all %} + <ul class="article-card-list">{% for object in related %} <li class="article-card-mini"><a href="{{object.get_absolute_url}}" title="{{object.title}}"> <div class="post-image post-mini-image"> {% if object.featured_image %} |