diff --git a/layouts/partials/article-link-card.html b/layouts/partials/article-link-card.html index 7d93982d..5b574688 100644 --- a/layouts/partials/article-link-card.html +++ b/layouts/partials/article-link-card.html @@ -13,7 +13,7 @@ {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} - {{ with .Resize "600x" }} + {{ with .Fill "600x600" }}
{{ end }} {{- else -}} diff --git a/layouts/partials/article-link.html b/layouts/partials/article-link.html index 406790d3..b0f6ba57 100644 --- a/layouts/partials/article-link.html +++ b/layouts/partials/article-link.html @@ -32,7 +32,7 @@ {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} - {{ with .Resize "600x" }} + {{ with .Fill "600x400" }}
{{ end }} {{- else -}}