Fix ressource.Fit not resizing the image properly
Co-authored-by: vlebert <vlebert@tactis.fr>
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{{ $authorImage = $author.image }}
|
||||
{{ end }}
|
||||
{{ $authorImage := resources.Get $authorImage }}
|
||||
{{ $authorImage := $authorImage.Fit "148x148" }}
|
||||
{{ $authorImage = $authorImage.Fit "148x148" }}
|
||||
|
||||
{{/* get file that matches the filename as specified as src="" in shortcode */}}
|
||||
{{ $src := resources.Get $backgroundImage }}
|
||||
|
||||
Reference in New Issue
Block a user