fix(actualites): image size
This commit is contained in:
parent
baa601c281
commit
596d6074a1
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue