diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-09-06 00:37:17 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-09-06 00:37:17 -0400 |
commit | 9ef558035c6b665b999d731b90133c62e51b9bc1 (patch) | |
tree | 8bef94f829f233bb921286b6a521ac2e1b9c4c2c | |
parent | e6497ddc9613402956600c4620c4bd5c4f62525d (diff) | |
download | thedroneely.com-9ef558035c6b665b999d731b90133c62e51b9bc1.tar.gz thedroneely.com-9ef558035c6b665b999d731b90133c62e51b9bc1.tar.bz2 thedroneely.com-9ef558035c6b665b999d731b90133c62e51b9bc1.zip |
generators/hugo/layouts/partials/thumbnail-image: Add titles
-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"> |