diff options
author | Ivan Boothe <git@rootwork.org> | 2022-05-11 00:07:02 +0300 |
---|---|---|
committer | Ivan Boothe <git@rootwork.org> | 2022-05-11 00:07:02 +0300 |
commit | 043118b58d3047ea1fa0e78551b5f3bf7d66eaac (patch) | |
tree | 8b6b5caeb44d836c3b107efd82f091d44bff1d3c /layouts | |
parent | c5a826e4d1578c5f187a225c78d9cd249bcae99a (diff) |
add featured image alt text
Signed-off-by: Ivan Boothe <git@rootwork.org>
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6fa6fd6..3da6557 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,7 +16,7 @@ {{- partial "post-meta" . }} {{- with .Params.featureImage -}} <div class="post_featured"> - {{- partial "image" (dict "file" . "type" "featured" "Page" $.Page) }} + {{- partial "image" (dict "file" . "alt" $p.featureImageAlt "type" "featured" "Page" $.Page) }} </div> {{- end -}} {{ if $p.toc }} |