Works for now

This commit is contained in:
2025-11-12 13:30:51 +01:00
parent cbb2dec615
commit 8991fbec41
5 changed files with 35 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
<!-- templates/base.html (updated) -->
<!-- templates/base.html (final version - completely fixed) -->
<!DOCTYPE html>
<html lang="en">
<head>
@@ -391,7 +391,7 @@
<div class="user-section">
<div class="user-info">
<h3>{{ session.username }}</h3>
<p>Member since {{ user.created_at.strftime('%b %Y') if 'user' in locals() and user else '' }}</p>
<p>Member since {{ user.created_at.strftime('%b %Y') if user and user.created_at else '' }}</p>
</div>
<a href="{{ url_for('logout') }}" class="btn btn-outline-light">Logout</a>
</div>