diff --git a/layouts/partials/article-list/tile.html b/layouts/partials/article-list/tile.html index be5744b..dd5c3aa 100644 --- a/layouts/partials/article-list/tile.html +++ b/layouts/partials/article-list/tile.html @@ -10,7 +10,7 @@ {{- $Width := $imageRaw.Width -}} {{- $Height := $imageRaw.Height -}} - {{- if .context.Site.Params.imageProcessing.cover.enabled -}} + {{- if eq .context.Site.Params.imageProcessing.cover.enabled true -}} {{- $thumbnail := $imageRaw.Fill .size -}} {{- $Permalink = $thumbnail.RelPermalink -}} {{- $Width = $thumbnail.Width -}}