{{- with site.GetPage (printf "/diplomas/%s" .) -}} {{ with .Params.certification }} {{ if fileExists (printf "themes/osuny/static/assets/images/certifications/diplomas/%s.svg" .) }} logo {{ . }} {{ end }} {{ end }} {{ end }}