feat: Specify image dimensions
https://gtmetrix.com/specify-image-dimensions.html
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
{{ if $src }}
|
||||
{{ $image := $src.Fill "432x300 Center" }}
|
||||
{{ $alt := index .Params "image_title" | default (index .Params "title") }}
|
||||
<img src="{{ $image.RelPermalink }}" alt="{{ $alt }}" />
|
||||
<img src="{{ $image.RelPermalink }}" alt="{{ $alt }}" width="432" height="300" />
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="card-body cell -7of12">
|
||||
|
Reference in New Issue
Block a user