Link less on the summary pages - to not underline whitespace

This commit is contained in:
Nico Schottelius 2020-07-04 18:12:08 +02:00
parent ae8a66a888
commit 321fd8862a

View file

@ -27,16 +27,21 @@
{% endif %}
<div class="col-md-4 mb-3">
<div class="card">
<a href="{{ childpage|url }}">
{% if childpage.image %}
<img class="card-img-top" src="{{ childpage.image }}"
alt="{{ childpage.title }}">
<a href="{{ childpage|url }}">
<img class="card-img-top" src="{{ childpage.image }}"
alt="{{ childpage.title }}">
</a>
{% else %}
<div style="{{ div_style }} font-weight: bold; padding-left:
12px; padding-right: 6px; text-transform: uppercase;"
class="{{ div_classes }} display-4 headlinebold">
&nbsp;<br/>
{{ childpage.title }}<sup style="font-weight: normal;"></sup><br/>
<a href="{{ childpage|url }}">
{{ childpage.title }}<sup style="font-weight:
normal;">≠</sup>
</a>
<br/>
&nbsp;<br/>
</div>
{% endif %}