put image attrib and alt back in one line 🤣

This commit is contained in:
Ayo 2023-05-29 01:29:49 +02:00
parent 6868a13256
commit da26e9cfba

View file

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