diff --git a/layouts/partials/article-link.html b/layouts/partials/article-link.html index e6cf63ba..36010d06 100644 --- a/layouts/partials/article-link.html +++ b/layouts/partials/article-link.html @@ -30,9 +30,9 @@ {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} - -
- + {{ with .Resize "600x" }} +
+ {{ end }} {{- else -}} {{- with $.Site.Params.images }} {{ end -}} @@ -76,4 +76,4 @@ {{ end }} - \ No newline at end of file +