diff options
Diffstat (limited to 'layouts/partials/article-list/tile.html')
-rw-r--r-- | layouts/partials/article-list/tile.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ </h2> </div> </a> -</article>
\ No newline at end of file +</article> |