From a5e5153208c7246f3d46027ef485ed7fa209598f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 22 Dec 2023 14:49:02 +0100 Subject: [PATCH] fix header position --- src/templates/index.html | 3 +-- src/templates/login.html | 3 ++- src/templates/read.html | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/templates/index.html b/src/templates/index.html index eff77f9..3445eb2 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -3,10 +3,9 @@ {% include "head.html" %} - {% include "header.html" %} - {% if config.is_logged() %} + {% include "header.html" %} {% if config.is_logged() %} {% endif %} diff --git a/src/templates/login.html b/src/templates/login.html index 3dbc0fe..fedb215 100644 --- a/src/templates/login.html +++ b/src/templates/login.html @@ -3,8 +3,9 @@ {% include "head.html" %} - {% include "header.html" %} + {% include "header.html" %} +

login page

diff --git a/src/templates/read.html b/src/templates/read.html index 813b64d..d52a232 100644 --- a/src/templates/read.html +++ b/src/templates/read.html @@ -3,8 +3,9 @@ {% include "head.html" %} - {% include "header.html" %} + {% include "header.html" %} +
{% if file %}

{{ name }}