diff options
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/thumbnail-image.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/thumbnail-image.html b/generators/hugo/themes/tdro/layouts/partials/thumbnail-image.html index c1b25c1..b577f37 100644 --- a/generators/hugo/themes/tdro/layouts/partials/thumbnail-image.html +++ b/generators/hugo/themes/tdro/layouts/partials/thumbnail-image.html @@ -1,7 +1,7 @@ {{ $imageFile := print "public/images/thumbnails/" (partial "article-image.html" .) ".png" }} {{ if fileExists $imageFile }} {{ $image := imageConfig $imageFile }} -<a href="{{ .Permalink }}"> +<a title="{{ .Title }}" href="{{ .Permalink }}"> <picture> <source srcset="/images/thumbnails/{{ partial "article-image.html" . }}.png" type="image/png"> <source srcset="/images/thumbnails/{{ partial "article-image.html" . }}.jpg" type="image/jpeg"> |