From 6337eaff81ad5aac5e636f4ace2fcb7d63e76b7a Mon Sep 17 00:00:00 2001 From: Verox001 Date: Tue, 5 Mar 2024 09:44:54 +0100 Subject: [PATCH] Removed habittracker content when not logged in --- templates/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e671e80..3729e63 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,13 +34,18 @@
+ {% if current_user.is_authenticated %} {% include 'components/heatmap.html' %} + {% endif %} + {% if current_user.is_authenticated %} {% include 'components/habit_lists.html' %} + {% endif %} - + {% if current_user.is_authenticated %} {% include 'components/delete_button.html' %} + {% endif %}