diff --git a/layouts/partials/persons/hero-single.html b/layouts/partials/persons/hero-single.html index b06f620c75ffeb5c502f7b994315ccfd5570a1d2..6cfcd2d4fb1671c29531b6949d4e2429927a9c88 100644 --- a/layouts/partials/persons/hero-single.html +++ b/layouts/partials/persons/hero-single.html @@ -1,15 +1,5 @@ {{- $title := or .Params.header_text .Title -}} -{{/* LEGACY : à retirer une fois que le format de donnée des images des personnes sera homogène aux autres images */}} -{{- $image := "" -}} -{{ with .Params.image }} - {{ if eq (printf "%T" .) "string" }} - {{ $image = dict "id" . }} - {{ else }} - {{ $image = . }} - {{ end }} -{{ end }} - {{- partial "header/hero.html" (dict "title" $title