]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note.html
0cc6e3d679cb48520b7530a32922a912171ef00b
[pcdenotes.git] / notes / templates / note.html
1 {% load markdownify %}
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 class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
6 <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
7 </article>

patrick-canterino.de