Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-19 07:35:37 +0300
committerGitHub <noreply@github.com>2020-03-19 07:35:37 +0300
commit774e831a210e44aeca9848eb0d636aae5af009dd (patch)
tree317e02755f373860127d0aa783f84d1b0f0c16da /layouts/_default/summary.html
parent84d48f37dcf35e9f414445e1eed3489c674fe1af (diff)
feat(shortcode): refactor and improve image shortcode (#187)
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r--layouts/_default/summary.html2
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 -}}