appearance tweaks

This commit is contained in:
2024-08-08 15:14:44 +00:00
parent 1c6293fda3
commit 92b314623a
16 changed files with 67 additions and 57 deletions

View File

@ -3,7 +3,6 @@
{% block explorecurrent %}class="current"{% endblock %}
{% block content %}
<h1>Hello, {{ current_user.username }}!</h1>
{% if form %}
<form action="" method="post">
{{ form.hidden_tag() }}
@ -17,11 +16,13 @@
<p>{{ form.submit() }}</p>
</form>
{% endif %}
<table>
{% for post in posts %}
{% include '_post.html' %}
{% endfor %}
{% if prev_url %}<a href="{{ prev_url }}">Newer Posts</a>{% endif %}
{% if next_url %}<a href="{{ next_url }}">Older Posts</a>{% endif %}
</table>
{% include '_postnav.html' %}
{% endblock %}