From 563999dd0061a8fa33fd40a332bcd9d1208042ac Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 4 Jul 2023 15:14:21 +0100 Subject: [PATCH] Always show the sponsor URL and description if either are present. --- templates/pages/sponsors.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/pages/sponsors.html b/templates/pages/sponsors.html index 9f41e34..c1c6c96 100644 --- a/templates/pages/sponsors.html +++ b/templates/pages/sponsors.html @@ -34,11 +34,9 @@
{{ c.name }} {% if s.hasdescription %} -

- {% if c.description %}{{ c.description }} - {% else %}{{ c.url }} + {% if c.description %}

{{ c.description }}

{% endif %} + {% if c.url %}

{{ c.url }}

{% endif %} {% endif %} -

{% endif %} {% if c.hasinterview %} -- 2.39.5