fix: Mise à jour pour SEO
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<div class="container small">
|
||||
{{ $path := .Params.image }}
|
||||
{{ $credit := .Params.image_credit }}
|
||||
{{ with .Resources.GetMatch $path }}
|
||||
{{ $img := .Fill "680x382 center" }}
|
||||
<img class="actu-image" src="{{ $img.RelPermalink }}" />
|
||||
<img class="actu-image" src="{{ $img.RelPermalink }}"{{ with $credit }} alt="{{ . }}" title="{{ . }}"{{ end}} />
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user