<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Example App</title>
|
|
</head>
|
|
<body>
|
|
<h1>Welcome to the Example App</h1>
|
|
{% if current_user.is_authenticated %}
|
|
<p>Welcome, {{ current_user.email }}!</p>
|
|
<a href="{{ url_for('profile') }}">Profile</a>
|
|
<a href="{{ url_for('logout') }}">Logout</a>
|
|
{% else %}
|
|
<a href="{{ url_for('login') }}">Login</a>
|
|
<a href="{{ url_for('register') }}">Register</a>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|