{{ with resources.Get .Site.Params.profile_picture }}
	<picture>
		{{ $avif_path := replace . ".png" ".avif "}}
		{{ with resources.Get (strings.TrimSpace $avif_path) }}
			<source srcset="{{ .RelPermalink }}" type="image/avif">
		{{ end }}
		<img alt="Profile Picture" src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}">
	</picture>
{{ end }}
<h1>{{ .Site.Title }}</h1>
