Fix logic.
authorDave Page <dpage@pgadmin.org>
Tue, 4 Jul 2023 14:17:57 +0000 (15:17 +0100)
committerDave Page <dpage@pgadmin.org>
Tue, 4 Jul 2023 14:17:57 +0000 (15:17 +0100)
templates/pages/sponsors.html

index c1c6c9626302c3ca6638e42693b6028e87b54c64..76048e6ecabe37eb5f2da454526e8a4fc40c3ca8 100644 (file)
@@ -35,9 +35,8 @@
   <a href="{{ c.url }}"><img src="{{ media("img/logos/" + c.img) }}" alt="{{ c.name }}"></a>
   {% if s.hasdescription %}
     {% if c.description %}<p>{{ c.description }}</p>{% endif %}
-    {% if c.url %}<p><a href="{{ c.url }}">{{ c.url }}</a></p>{% endif %}
-    {% endif %}
   {% endif %}
+  {% if c.url %}<p><a href="{{ c.url }}">{{ c.url }}</a></p>{% endif %}
   {% if c.hasinterview %}
     <p class="interview-link"><a href="{{ link("sponsor-interviews/" + c.name|slugify + "/") }}" data-company-name="{{ c.name }}"><i class="fa-solid fa-handshake-angle"></i>Interview</a></p>
   {% endif %}