{{- $title := or .Params.header_text .Title -}}
{{- if .Params.breadcrumb | default true -}} {{ partial "header/breadcrumbs.html" . }} {{- end -}}

{{ partial "PrepareHTML" $title }}

{{- if .Params.image }}
{{ partial "commons/image.html" (dict "image" .image "sizes" site.Params.image_sizes.sections.diplomas.hero_single ) }} {{ if .image.credit }}
{{- partial "PrepareHTML" .image.credit -}}
{{ end }}
{{ end -}}
{{- partial "diplomas/essential" . -}}