]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_list.html
Changed the way the .env file is loaded
[pcdenotes.git] / notes / templates / note_list.html
1 {% extends "note_base.html" %}
2 {% load markdownify %}
3
4 {% block title %}Notes{% endblock %}
5
6 {% block content %}
7 {% for note in notes %}
8 <article class="container mt-5">
9 <h2>{{ note.title }}</h2>
10 <p>ID: {{ note.id }}</p>
11 <div>{{ note.content|linebreaksbr|markdownify }}</div>
12 <p>Link: <a href="{{ note.get_absolute_url }}">View</a></p>
13 <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
14 </article>
15 {% empty %}
16 <p>No notes</p>
17 {% endfor %}
18
19 <p>Number of notes: {{ notes_count }}</p>
20 {% endblock %}

patrick-canterino.de