fix edit page

This commit is contained in:
mtrx 2024-12-24 23:00:46 +01:00
parent 1afd70a516
commit c9ef9ae0e1

View file

@ -1,22 +1,17 @@
<!DOCTYPE html> {% extends "base.html" %}
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Edit posts..." />
<meta property="og:image" content="/static/site-image.png" />
<title>Edit posts...</title> {% block head %}
<link rel="stylesheet" href="/static/css/blog.css"> {{ super() }}
<link rel="shortcut icon" type="image/jpg" href="/static/favicon.ico"/> <meta property="og:title" content="Edit posts..." />
</head> <title>Edit posts...</title>
<body> {% endblock head %}
<h1><a href="/" class="post-link" style="text-decoration:none;color:black;">{{ username }}' blog</a></h1>
<h2>Edit posts</h2> {% block content %}
<ul style="list-style: none;"> <h1><a href="/" class="hidden-link">{{ username }} blog</a></h1>
{% for post in posts %} <h2>Edit posts</h2>
<li><a href="/edit/{{ post.id }}">{{ post.title }}</a></li> <ul style="list-style: none;">
{% endfor %} {% for post in posts %}
</ul> <li><a href="/edit/{{ post.id }}">{{ post.title }}</a></li>
</body> {% endfor %}
</html> </ul>
{% endblock content %}