diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b35ed48..6d109c4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,7 +13,7 @@ {{ if $featuredImage }} {{ $featuredImage = $featuredImage.Resize "600x" }}
- + {{ with .Params.featured_image.alt }}{{ . }}{{ end }} {{ with .Params.featured_image.caption }}
{{ . }}
{{ end }} diff --git a/layouts/actualites/list.html b/layouts/actualites/list.html index 394f714..eb4e26b 100644 --- a/layouts/actualites/list.html +++ b/layouts/actualites/list.html @@ -19,10 +19,7 @@ {{ end }} {{ $featuredImage := $featuredImage.Fill "465x348 Center" }}
- - {{ with .Params.featured_image.caption }} -
{{ . }}
- {{ end }} + {{ with .Params.featured_image.alt }}{{ . }}{{ end }}