1
0
forked from finn/site

mgt c9 complete

This commit is contained in:
2024-08-04 13:14:58 -07:00
parent 94434d4f8e
commit 61c8cadb87
7 changed files with 75 additions and 29 deletions

View File

@ -3,19 +3,20 @@
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='simple.css') }}">
{% if title %}
<title>{{ title }} - blog</title>
<title>{{ title }} - blogpage</title>
{% else %}
<title>Welcome to blog.</title>
{% endif %}
</head>
<body>
<div>
blgo:
blog:
<a href="{{ url_for('index') }}">home</a>
<a href="{{ url_for('explore') }}">explore</a>
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}">login</a>
{% else %}
<a href="{{ url_for('user', username=current_user.username) }}">Profile</a>
<a href="{{ url_for('user', username=current_user.username) }}">profile</a>
<a href="{{ url_for('logout') }}">logout</a>
{% endif %}