-<article class="container mt-5">
- <h2><a href="{{ note.get_absolute_url }}" class="link-dark">{{ note.title }}</a></h2>
+<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>
+ {% 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>
</article>
\ No newline at end of file
<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>
</article>
\ No newline at end of file