From 6aa05a7f3e4ab75d4c7847d15a4af36375d1c4f0 Mon Sep 17 00:00:00 2001 From: Dillon Date: Tue, 12 May 2020 22:51:48 +0800 Subject: [PATCH] fix(featuredImage): featuredImagePreview doesn't work by itself --- layouts/_default/summary.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index aeef606..7f4c12d 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,11 +1,10 @@ {{- $params := .Params | merge .Site.Params.page -}}
{{- /* Featured image */ -}} - {{- with $params.featuredimage -}} + {{- with $params.featuredimagepreview | default $params.featuredimage -}} {{- end -}}