1 {% load notes_extras %}
2 <article{% if note.is_draft %}
class=
"text-muted"{% endif %}
>
3 <h2><a href=
"{{ note.get_absolute_url }}"{% if note.is_draft %}
class=
"text-muted"{% endif %}
>{{ note.title }}
</a></h2>
4 {% if note.is_draft %}
<p class=
"fw-bold">Status: Draft
</p>{% endif %}
5 <div>{{ note.content|markdown|safe }}
</div>
6 <p class=
"publication-date">Published on {{ note.publication_date|date:
"Y-m-d, H:i O" }}
</p>