From e213f41bb7bfde7cf19dc002aca44683022f690c Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 2 Jan 2023 19:44:54 +0000 Subject: [PATCH] show related posts when there are more than one. --- fet2020/templates/posts/show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet2020/templates/posts/show.html b/fet2020/templates/posts/show.html index 3d8df990..202f882b 100644 --- a/fet2020/templates/posts/show.html +++ b/fet2020/templates/posts/show.html @@ -119,7 +119,7 @@ {% endblock %} - {% if related_posts %} + {% if related_posts and related_posts|length > 1 %}

Weiterlesen