From abe7d20f34184953be9e1dea93c84ad3990014a1 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Tue, 16 May 2023 21:24:25 +0200 Subject: [PATCH] Deal with the case of papers without abstract --- templates/pubs.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/pubs.html b/templates/pubs.html index f9b1b5a..bed2f13 100644 --- a/templates/pubs.html +++ b/templates/pubs.html @@ -53,6 +53,8 @@ {% if card.abstract %} <p class="hideshow">  Abstract <i class="fa fa-chevron-right" aria-hidden="true"></i></p> <p class="abstract card">{{ card.abstract }}</p> + {% else %} + <p> <i> No abstract </i> </p> {% endif %} </p> </div> -- GitLab