X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/d063502baa4a57159666cf9386aa1809f29fff22..5603ef1d534888f3e85b93c98fb2623d4154fead:/notes/templates/note.html diff --git a/notes/templates/note.html b/notes/templates/note.html index 1bce423..7f384f9 100644 --- a/notes/templates/note.html +++ b/notes/templates/note.html @@ -1,7 +1,7 @@ {% 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> + <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="fst-italic" style="font-size: smaller;">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p> + <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p> </article> \ No newline at end of file