revert photo attrib and alt into separate lines
This commit is contained in:
parent
bcd38aeead
commit
5c1f905290
1 changed files with 11 additions and 10 deletions
|
@ -41,21 +41,22 @@ layout: default
|
|||
src="../assets/images/{{page.image}}.jpg"
|
||||
/>
|
||||
|
||||
<p class="blog-post__header__image-caption">
|
||||
{% if page.image-alt %}
|
||||
{{ page.image-alt }}
|
||||
<p class="blog-post__header__image-caption">
|
||||
{{ page.image-alt }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if page.image-attrib %}
|
||||
{% if page.image-alt %}
|
||||
•
|
||||
{% endif %}
|
||||
{% if page.image-attrib-url %}
|
||||
|
||||
<a href="{{ page.image-attrib-url }}" targe="_blank"
|
||||
>Photo © {{ page.image-attrib }}</a
|
||||
>
|
||||
<p class="blog-post__header__image-caption">
|
||||
<a href="{{ page.image-attrib-url }}" targe="_blank"
|
||||
>Photo © {{ page.image-attrib }}</a
|
||||
>
|
||||
</p>
|
||||
{% else %}
|
||||
Photo © {{ page.image-attrib }}
|
||||
<p class="blog-post__header__image-caption">
|
||||
Photo © {{ page.image-attrib }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue