mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-25 16:22:41 +01:00
12 lines
No EOL
364 B
HTML
12 lines
No EOL
364 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<h1>Home</h1>
|
|
<!-- Check if the user is logged in -->
|
|
{% if current_user.is_authenticated %}
|
|
<p>Welcome, {{ current_user.user }}!</p>
|
|
<p><a href="{{ url_for('logout') }}">Logout</a></p>
|
|
{% else %}
|
|
<p><a href="{{ url_for('login') }}">Login</a></p>
|
|
{% endif %}
|
|
{% endblock %} |