diff --git a/layouts/partials/article-list/tile.html b/layouts/partials/article-list/tile.html index 4ec5d57..be5744b 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 (default true .Page.Site.Params.imageProcessing.cover.enabled) -}} + {{- if .context.Site.Params.imageProcessing.cover.enabled -}} {{- $thumbnail := $imageRaw.Fill .size -}} {{- $Permalink = $thumbnail.RelPermalink -}} {{- $Width = $thumbnail.Width -}} @@ -36,4 +36,4 @@ - \ No newline at end of file +