notes index

This commit is contained in:
2025-05-18 09:10:16 +01:00
parent bea35beb50
commit a7e835b25c
3 changed files with 36 additions and 25 deletions

View File

@@ -3,5 +3,12 @@
{% block content %}
<section>
<h1>Notes</h1>
{% for note in notes %}
<h2><a href="/notes/{{ note.slug }}">Note {{ note.slug }}</a></h2>
<p>{{ note.content }}</p>
{% else %}
<p>I have no notes.</p>
{% endfor %}
</section>
{% endblock %}