Adds title along with alt attributes on images

This commit is contained in:
Mouse Reeve
2020-12-22 08:26:02 -08:00
parent fdbce5d05e
commit fd2f452b46
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<div class="column is-narrow">
<figure class="image is-128x128">
<a href="/images/{{ attachment.image }}" target="_blank" aria-label="open image in new window">
<img src="/images/{{ attachment.image }}" alt="{{ attachment.caption }}">
<img src="/images/{{ attachment.image }}"{% if attachment.caption %} alt="{{ attachment.caption }}" title="{{ attachment.caption }}"{% endif %}>
</a>
</figure>
</div>