]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note.html
Moved more styles to CSS file
[pcdenotes.git] / notes / templates / note.html
index 9eebd5ccf8486b357ee728c6e8059c3946cfd79d..0cc6e3d679cb48520b7530a32922a912171ef00b 100644 (file)
@@ -1,6 +1,6 @@
 {% load markdownify %}
 {% load markdownify %}
-<article class="container mt-5{% if note.is_draft %} text-muted{% endif %}">
-    <h2><a href="{{ note.get_absolute_url }}" class="{% if note.is_draft %}text-muted{% else %}link-dark{% endif %}">{{ note.title }}</a></h2>
+<article{% if note.is_draft %} class="text-muted"{% endif %}>
+    <h2><a href="{{ note.get_absolute_url }}"{% if note.is_draft %} class="text-muted"{% endif %}>{{ note.title }}</a></h2>
     {% if note.is_draft %}<p class="fw-bold">Status: Draft</p>{% endif %}
     <div class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
     <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
     {% if note.is_draft %}<p class="fw-bold">Status: Draft</p>{% endif %}
     <div class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
     <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>

patrick-canterino.de