Adds title along with alt attributes on images
This commit is contained in:
parent
fdbce5d05e
commit
fd2f452b46
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue