mirror of
https://github.com/MinimalBible/MinimalBible.github.io
synced 2024-12-21 06:08:19 -05:00
Remove links on image credits with no creditlink
This commit is contained in:
parent
d0bf3106c8
commit
8b0d5386eb
@ -14,7 +14,7 @@
|
||||
|
||||
{% if page.image.feature %}
|
||||
<div class="entry-header">
|
||||
{% if page.image.credit %}<div class="image-credit">Image source: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></div><!-- /.image-credit -->{% endif %}
|
||||
{% if page.image.credit %}<div class="image-credit">Image source: {% if page.image.creditlink %}<a href="{{ page.image.creditlink }}">{% endif %}{{ page.image.credit }}{% if page.image.creditlink %}</a>{% endif %}</div><!-- /.image-credit -->{% endif %}
|
||||
<div class="entry-image">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }}">
|
||||
</div><!-- /.entry-image -->
|
||||
|
Loading…
Reference in New Issue
Block a user