X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/f253eb82624c454150771efb46b6d34595eb6183..4f1c1d964f6606082652c873ca309e79f1f6dd5e:/notes/templates/note_list.html diff --git a/notes/templates/note_list.html b/notes/templates/note_list.html index 9f1554c..e77bce0 100644 --- a/notes/templates/note_list.html +++ b/notes/templates/note_list.html @@ -1,19 +1,21 @@ {% extends "note_base.html" %} -{% load markdownify %} {% block title %}Notes{% endblock %} {% block content %} -

Notes

- {% for note in notes %} -

{{ note.title }}

-

ID: {{ note.id }}

-
{{ note.content|linebreaksbr|markdownify }}
-

Link: View

-

Date: {{ note.created_at|date:"Y-m-d H:i" }}

- {% empty %} -

No notes

- {% endfor %} + {% for note in notes_page %} + {% include "note.html" %} + {% empty %} +

No notes

+ {% endfor %} -

Number of notes: {{ notes_count }}

+ {% endblock %} \ No newline at end of file