fix: Width and Height is not a good solution for responsive design

This commit is contained in:
2020-03-11 14:40:35 +01:00
parent 56d883d45a
commit 3741f5969d
3 changed files with 3 additions and 3 deletions

View File

@ -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 }}" width="432" height="300" />
<img src="{{ $image.RelPermalink }}" alt="{{ $alt }}" />
{{ end }}
</div>
<div class="card-body cell -7of12">