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 }}