From 68d2d26b460ee61fe06073a865ea41cb9fed07a6 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 19 Jul 2022 19:50:22 -0700 Subject: [PATCH] Move board navbar to be in the board and post view only While it's a neat idea to put it on every page, it was also appearing on *every page* - including stuff like "delete post" page and reply windows and stuff. Signed-off-by: Alek Ratzloff --- board/templates/board/base.html | 1 - board/templates/board/board_detail.html | 2 ++ board/templates/board/post_detail.html | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/board/templates/board/base.html b/board/templates/board/base.html index f5fde9a..b281cfa 100644 --- a/board/templates/board/base.html +++ b/board/templates/board/base.html @@ -19,7 +19,6 @@ {% block extrajs %}{% endblock %} -
{% block content %}{% endblock content %}
diff --git a/board/templates/board/board_detail.html b/board/templates/board/board_detail.html index f2cd98f..efda131 100644 --- a/board/templates/board/board_detail.html +++ b/board/templates/board/board_detail.html @@ -7,6 +7,8 @@ {% endblock title %} {% block content %} +{# navbar #} + {# board header #}
 
diff --git a/board/templates/board/post_detail.html b/board/templates/board/post_detail.html index 39b8225..ebcd7b1 100644 --- a/board/templates/board/post_detail.html +++ b/board/templates/board/post_detail.html @@ -10,6 +10,8 @@ {% endblock title %} {% block content %} +{# navbar #} + {# board header #}