feat: Mise à jour du site pour une meilleure acceccibilité
This commit is contained in:
@ -8,7 +8,8 @@
|
||||
{{ $src := $actu.Resources.GetMatch (printf "*%s/%s*" (path.Base .File.Dir) (.Params.Image)) }}
|
||||
{{ if $src }}
|
||||
{{ $image := $src.Fill "432x300 Center" }}
|
||||
<img src="{{ $image.RelPermalink }}" />
|
||||
{{ $alt := index .Params "image_title" | default (index .Params "title") }}
|
||||
<img src="{{ $image.RelPermalink }}" alt="{{ $alt }}" />
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="card-body cell -7of12">
|
||||
|
Reference in New Issue
Block a user