This commit is contained in:
Bad Manners 2025-04-08 20:07:21 -03:00
parent a5e3fb2850
commit 04f888c323
6 changed files with 182 additions and 69 deletions

View file

@ -35,6 +35,9 @@
</article>
<main>
<h1>Viewing posts</h1>
{% if posts.is_empty() %}
<div>No posts found!</div>
{% else %}
<ul>
{% for post in posts %}
<li>
@ -48,6 +51,7 @@
{% endfor %}
</ul>
<div>Page {{ page }} of {{ page_count }}</div>
{% endif %}
</main>
</body>
</html>