From 35bdccd49495bdcf881469af1fb6fab8dc029533 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Fri, 5 Apr 2024 11:54:19 +0200 Subject: [PATCH] remove legacy --- layouts/partials/persons/hero-single.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/layouts/partials/persons/hero-single.html b/layouts/partials/persons/hero-single.html index b06f620c..6cfcd2d4 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 -- GitLab