Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <github@jimmycai.com>2022-10-29 18:14:19 +0300
committerGitHub <noreply@github.com>2022-10-29 18:14:19 +0300
commitb03390d237427a2b9cfee55949cb1da62f1a6856 (patch)
treefd7da57cfcebc07d16483f3e9c3d71aee3562138 /layouts/partials/article-list/compact.html
parent8a597a5c9c861d2bce22a5e06c7667cd9c8e263a (diff)
Revert "Merge branch 'canary' into master" (#712)
Revert "Merge branch 'canary' into master (#711)" This reverts commit 8a597a5c9c861d2bce22a5e06c7667cd9c8e263a.
Diffstat (limited to 'layouts/partials/article-list/compact.html')
-rw-r--r--layouts/partials/article-list/compact.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article-list/compact.html b/layouts/partials/article-list/compact.html
index edd58a0..376512a 100644
--- a/layouts/partials/article-list/compact.html
+++ b/layouts/partials/article-list/compact.html
@@ -19,7 +19,7 @@
{{- $Width := $image.resource.Width -}}
{{- $Height := $image.resource.Height -}}
- {{- if .Page.Site.Params.imageProcessing.cover.enabled -}}
+ {{- if (default true .Page.Site.Params.imageProcessing.cover.enabled) -}}
{{- $thumbnail := $image.resource.Fill "120x120" -}}
{{- $Permalink = $thumbnail.RelPermalink -}}
{{- $Width = $thumbnail.Width -}}