From 0df3f2ecbe2708c0847f63ea744dabc57d95db1e Mon Sep 17 00:00:00 2001 From: Nishant Srivastava Date: Mon, 20 Jan 2020 19:40:47 +0100 Subject: [PATCH] show thumbnail in the card only when it is set --- layouts/partials/showcase/show-section.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/showcase/show-section.html b/layouts/partials/showcase/show-section.html index a8b4a4d..f5d3c40 100644 --- a/layouts/partials/showcase/show-section.html +++ b/layouts/partials/showcase/show-section.html @@ -15,9 +15,11 @@ {{ .Title }} + {{ if (isset .Params "thumb") | or (eq .Params.thumb "") }} {{ .Title }} + {{ end }}
{{ .Description }}