From b4c54de162ad6fb86a1b7e4d959405ccdf192f28 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 31 Jan 2024 21:20:28 +0200 Subject: [PATCH] fix navigation for posts inside holes --- files/templates/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/header.html b/files/templates/header.html index 7232a620f..986efce64 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -191,7 +191,7 @@ {% endif %} {% endif %} - {% if request.path.startswith('/post/') and p %} + {% if p %} @@ -255,7 +255,7 @@ {% endif %} - {% if request.path.startswith('/post/') and p %} + {% if p %}