1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00

no image source with no image

fixes #14
This commit is contained in:
Lukas Winkler 2020-08-03 21:11:57 +02:00
parent 2ffff9d50d
commit f941f2656b
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -99,12 +99,14 @@
title="This snippet and thumbnail is from the English Wikipedia and licensed under the CC-BY-SA 3.0 license">
License
</a>
<a href="{{ link.thumbnail.commons_url }}" target="_blank" rel="noopener"
class="text-muted"
data-toggle="tooltip"
title="by {{ link.thumbnail.artist }} under {{ link.thumbnail.license_short_name }}">
Image-Source
</a>
{% if link.thumbnail %}
<a href="{{ link.thumbnail.commons_url }}" target="_blank" rel="noopener"
class="text-muted"
data-toggle="tooltip"
title="by {{ link.thumbnail.artist }} under {{ link.thumbnail.license_short_name }}">
Image-Source
</a>
{% endif %}
</div>
</div>
</div>