From 7ee58004d7a9207e165eafd84d2f5ce31c01197e Mon Sep 17 00:00:00 2001 From: ZEZE1020 Date: Mon, 13 Jan 2025 05:14:14 +0300 Subject: [PATCH] Templates update --- templates/base.html | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/templates/base.html b/templates/base.html index d7a1d0d..f28e94d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,8 +3,8 @@ - {% load static %} {% block title %}My Social Media API{% endblock %} + {% load static %} @@ -17,14 +17,44 @@
  • Notifications API
  • Posts API
  • Accounts
  • + {% if user.is_authenticated %} +
  • Sign Out
  • + {% else %} +
  • Sign Up
  • +
  • Sign In
  • + {% endif %} - +
    + {% block content %} + {% endblock %} +
    + +