fix: Les images retaillées doivent être centrées
This commit is contained in:
@ -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>
|
||||
|
Submodule themes/hugo-theme-lowtech updated: fc0cd2b777...c78f0f5f46
Reference in New Issue
Block a user