Add the year to art thumb tooltips

This commit is contained in:
Joshua Goins 2024-09-29 21:08:30 -04:00
parent 4b70c2bf75
commit 44fd0ae4ef

View file

@ -50,7 +50,7 @@
<picture>
<source srcset="{{ $full }}" type="image/avif" width="{{ $.Params.thumb_width }}" height="{{ $.Params.thumb_height }}"/>
<img style="width: 100%; height: auto;" alt="{{ $.Params.alt_text }}" title="{{ $title }}" width="{{ $.Params.thumb_width }}" height="{{ $.Params.thumb_height }}" src="{{ $jpeg }}"/>
<img style="width: 100%; height: auto;" alt="{{ $.Params.alt_text }}" title="{{ $title }} ({{$year}})" width="{{ $.Params.thumb_width }}" height="{{ $.Params.thumb_height }}" src="{{ $jpeg }}"/>
</picture>
{{ else }}
<p>Thumbnail not found!</p>