From 885b4884fdc2e276784edc7b385d426233f09e3f Mon Sep 17 00:00:00 2001 From: xenofem Date: Wed, 7 Feb 2024 00:14:22 -0500 Subject: [PATCH] don't write description of 'None' if the field is empty --- dlibrary/templates/work.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlibrary/templates/work.html b/dlibrary/templates/work.html index 2bedfb2..c2860fa 100644 --- a/dlibrary/templates/work.html +++ b/dlibrary/templates/work.html @@ -36,7 +36,9 @@ {% endif %} + {% if work['description'] %} {{ work['description'] }} + {% endif %} {% endblock %}