From 8402bfbed23ab411202a659fa699ef5e12287ec7 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 25 Jul 2018 00:11:23 +0200 Subject: [PATCH] Tweak the admin layout --- templates/header.html | 6 ++---- templates/layout.html | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/header.html b/templates/header.html index 287db10..8fc7eb1 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,3 +1,4 @@ +{% if not request.path.startswith('/admin') %} +{% endif %} diff --git a/templates/layout.html b/templates/layout.html index a61a703..fb7d6d2 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -18,7 +18,8 @@ {% if logged_in %}