put image attrib and alt back in one line 🤣
This commit is contained in:
parent
6868a13256
commit
da26e9cfba
1 changed files with 20 additions and 18 deletions
|
@ -41,22 +41,24 @@ 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 %}
|
||||||
|
<span>
|
||||||
{{ page.image-alt }}
|
{{ page.image-alt }}
|
||||||
</p>
|
</span>
|
||||||
{% 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">
|
<span>
|
||||||
<a href="{{ page.image-attrib-url }}" targe="_blank"
|
<a href="{{ page.image-attrib-url }}" targe="_blank"
|
||||||
>Photo © {{ page.image-attrib }}</a
|
>Photo © {{ page.image-attrib }}</a>
|
||||||
>
|
</span>
|
||||||
</p>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="blog-post__header__image-caption">
|
<span>Photo © {{ page.image-attrib }}</span>
|
||||||
Photo © {{ page.image-attrib }}
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue