fix: Les images retaillées doivent être centrées
This commit is contained in:
parent
7d81e5cc8f
commit
14ccf19183
|
@ -7,7 +7,7 @@
|
||||||
<div class="card-image cell -5of12">
|
<div class="card-image cell -5of12">
|
||||||
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }}
|
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }}
|
||||||
{{ if $src }}
|
{{ if $src }}
|
||||||
{{ $image := $src.Fill "432x300" }}
|
{{ $image := $src.Fill "432x300 Center" }}
|
||||||
<img src="{{ $image.RelPermalink }}" />
|
<img src="{{ $image.RelPermalink }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit fc0cd2b777ede27661077078a8c992d7269d53a4
|
Subproject commit c78f0f5f46ec9f979d1d00bf452766d5ee3ab6bd
|
Loading…
Reference in New Issue