]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note_list.html
Fixed some things in the templates
[pcdenotes.git] / notes / templates / note_list.html
index bf278e16c38033b481f74afa057099d282ae7693..ffc256a1dd2550f55d14e51883fb244717303db8 100644 (file)
@@ -6,10 +6,8 @@
 {% block content %}
   {% for note in notes_page %}
   <article class="container mt-5">
 {% block content %}
   {% for note in notes_page %}
   <article class="container mt-5">
-    <h2>{{ note.title }}</h2>
-    <p>ID: {{ note.id }}</p>
+    <h2><a href="{{ note.get_absolute_url }}" class="link-dark">{{ note.title }}</a></h2>
     <div>{{ note.content|linebreaksbr|markdownify }}</div>
     <div>{{ note.content|linebreaksbr|markdownify }}</div>
-    <p>Link: <a href="{{ note.get_absolute_url }}">View</a></p>
     <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
   </article>
   {% empty %}
     <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
   </article>
   {% empty %}
@@ -25,6 +23,4 @@
       {% endifnotequal %}
     {% endfor %}
   </ul>
       {% endifnotequal %}
     {% endfor %}
   </ul>
-
-  <p>Number of notes: {{ notes_count }}</p>
 {% endblock %}
\ No newline at end of file
 {% endblock %}
\ No newline at end of file

patrick-canterino.de