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,25 +41,27 @@ layout: default
|
|||
src="../assets/images/{{page.image}}.jpg"
|
||||
/>
|
||||
|
||||
{% if page.image-alt %}
|
||||
<p class="blog-post__header__image-caption">
|
||||
{{ page.image-alt }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% 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 © {{ page.image-attrib }}</a
|
||||
>
|
||||
</p>
|
||||
{% else %}
|
||||
<p class="blog-post__header__image-caption">
|
||||
Photo © {{ page.image-attrib }}
|
||||
</p>
|
||||
<p class="blog-post__header__image-caption">
|
||||
{% if page.image-alt %}
|
||||
<span>
|
||||
{{ page.image-alt }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if page.image-attrib %}
|
||||
|
||||
{% if page.image-alt %}
|
||||
•
|
||||
{% endif %}
|
||||
{% if page.image-attrib-url %}
|
||||
<span>
|
||||
<a href="{{ page.image-attrib-url }}" targe="_blank"
|
||||
>Photo © {{ page.image-attrib }}</a>
|
||||
</span>
|
||||
{% else %}
|
||||
<span>Photo © {{ page.image-attrib }}</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue