fix: responsive to go v1 in production!

This commit is contained in:
Matthieu Bessat 2023-10-23 01:07:24 +02:00
parent 903aa8010a
commit 05b74db2e5
20 changed files with 100 additions and 135 deletions

View file

@ -17,7 +17,7 @@
{{ if .Params.featured_image }}
{{ $featuredImage = .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
{{ end }}
{{ $featuredImage := $featuredImage.Resize "450x" }}
{{ $featuredImage := $featuredImage.Fill "450x250 Center" }}
<figure>
<img alt="" src="{{ $featuredImage.RelPermalink }}" />
{{ with .Params.featured_image.caption }}