diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-19 07:35:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 07:35:37 +0300 |
commit | 774e831a210e44aeca9848eb0d636aae5af009dd (patch) | |
tree | 317e02755f373860127d0aa783f84d1b0f0c16da /layouts/_default/summary.html | |
parent | 84d48f37dcf35e9f414445e1eed3489c674fe1af (diff) |
feat(shortcode): refactor and improve image shortcode (#187)
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 440bfd0..0c75db2 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -5,7 +5,7 @@ {{- with .Params.featuredImage -}} <div class="featured-image-preview"> {{- $image := $.Params.featuredImagePreview | default . -}} - {{- partial "plugin/image.html" (dict "src" $image "description" $.Description "scratch" $scratch) -}} + {{- partial "plugin/image.html" (dict "src" $image "alt" $.Description "large" true) -}} </div> {{- end -}} |