revert photo attrib and alt into separate lines

This commit is contained in:
Ayo 2023-05-29 01:13:17 +02:00
parent bcd38aeead
commit 5c1f905290

View file

@ -41,21 +41,22 @@ layout: default
src="../assets/images/{{page.image}}.jpg" src="../assets/images/{{page.image}}.jpg"
/> />
<p class="blog-post__header__image-caption">
{% if page.image-alt %} {% if page.image-alt %}
<p class="blog-post__header__image-caption">
{{ page.image-alt }} {{ page.image-alt }}
</p>
{% endif %} {% endif %}
{% if page.image-attrib %} {% if page.image-attrib %}
{% if page.image-alt %}
{% endif %}
{% if page.image-attrib-url %} {% if page.image-attrib-url %}
<p class="blog-post__header__image-caption">
<a href="{{ page.image-attrib-url }}" targe="_blank" <a href="{{ page.image-attrib-url }}" targe="_blank"
>Photo &copy; {{ page.image-attrib }}</a >Photo &copy; {{ page.image-attrib }}</a
> >
</p>
{% else %} {% else %}
<p class="blog-post__header__image-caption">
Photo &copy; {{ page.image-attrib }} Photo &copy; {{ page.image-attrib }}
</p>
{% endif %} {% endif %}
{% endif %} {% endif %}
</p> </p>