From 593acbb7d17f02648f127f15430df04a6f341fc9 Mon Sep 17 00:00:00 2001 From: Sanjay B Date: Fri, 29 Oct 2021 01:00:54 +0530 Subject: [PATCH] dont show year on film page if it is None --- app/templates/film.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/film.html b/app/templates/film.html index 35855aa..d7febfd 100755 --- a/app/templates/film.html +++ b/app/templates/film.html @@ -28,7 +28,7 @@ body { {% endfor %}
- {{ film.data.date}}, {{ film.duration }} + {% if film.data.date %} {{ film.data.date}}, {% endif %} {{ film.duration }}