1 {% extends
"note_base.html" %}
4 {% block title %}Notes{% endblock %}
7 {% for note in notes_page %}
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>
19 <ul class=
"pagination">
20 {% for page in pages %}
21 {% ifnotequal page.number page_number %}
22 <li class=
"page-item"><a href=
"?page={{ page.number }}" class=
"page-link">{{ page.number }}
</a></li>
24 <li class=
"page-item active"><span class=
"page-link">{{ page.number }}
</span></li>
29 <p>Number of notes: {{ notes_count }}
</p>