From 6d2f7c023af31b6dd29cdc94a6effc9a5e356ab8 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Tue, 31 May 2022 22:26:20 +0000 Subject: [PATCH] fix show bs page --- fet2020/templates/posts/show.html | 52 ++++++++++++++++--------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/fet2020/templates/posts/show.html b/fet2020/templates/posts/show.html index 0863e686..2410e23f 100644 --- a/fet2020/templates/posts/show.html +++ b/fet2020/templates/posts/show.html @@ -252,32 +252,34 @@ {% endif %} - {% get_flatpages '/bs/' for user as pages %} - {% if pages %} -
- {{ pages.first.title }} -
- - + {% if post.post_type == 'F' %} + {% get_flatpages '/bs/' for user as pages %} + {% if pages %} +
+ {{ pages.first.title }} +
+ + +
-
+ {% endif %} {% endif %} {% endif %}