From aa9c5e112777180d4ee9732a2ec6e461b9099623 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 28 Jan 2023 14:26:03 +0000 Subject: Implement logic for drafts Current logic is drafts are published, but do not listed on the feed page. --- templates/post.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html index 8da33b2..56bdef8 100644 --- a/templates/post.html +++ b/templates/post.html @@ -20,9 +20,14 @@

{{ title }}

-

+

+ +{% if status == "draft" %} +• {{ status }} +{% endif %} +

{{ content|safe }} -- cgit v1.2.3-70-g09d2