From afb57ef0778c2d92160b39a5f40119d020697642 Mon Sep 17 00:00:00 2001 From: Verox001 Date: Fri, 1 Mar 2024 08:06:00 +0100 Subject: [PATCH] Fixed minor bugs --- app.py | 1 + templates/index.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 235af52..c87d6a6 100644 --- a/app.py +++ b/app.py @@ -276,6 +276,7 @@ def profile(): name=current_user.name, email=current_user.email, profile_image_url=current_user.profile_image, + title="Profil", ) diff --git a/templates/index.html b/templates/index.html index 3dda3dc..e671e80 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,8 +1,10 @@ {% extends 'layouts/main.html' %} {% block content %} -

- {{ title }}

+

+ {% if (current_user.is_authenticated) %}{% endif %} + {{ title }} +

{{ utc_dt }}