fix(actualites): image size

This commit is contained in:
Matthieu Bessat 2024-03-06 09:08:16 +01:00
parent baa601c281
commit 596d6074a1

View file

@ -15,7 +15,7 @@
{{ if .Params.featured_image }}
{{ $featuredImage := .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
{{ if $featuredImage }}
{{ $featuredImage = $featuredImage.Resize "600x" }}
{{ $featuredImage = $featuredImage.Resize "1000x" }}
<figure class="article__featured-image">
<img alt="" src="{{ $featuredImage.RelPermalink }}" />
{{ with .Params.featured_image.caption }}