fix: Les images retaillées doivent être centrées

This commit is contained in:
Simon 2020-03-09 11:24:34 +01:00
parent 7d81e5cc8f
commit 14ccf19183
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<div class="card-image cell -5of12">
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }}
{{ if $src }}
{{ $image := $src.Fill "432x300" }}
{{ $image := $src.Fill "432x300 Center" }}
<img src="{{ $image.RelPermalink }}" />
{{ end }}
</div>

@ -1 +1 @@
Subproject commit fc0cd2b777ede27661077078a8c992d7269d53a4
Subproject commit c78f0f5f46ec9f979d1d00bf452766d5ee3ab6bd