{{- $author := .Section -}} {{- $authors := partial "function-authors-data.html" . -}} {{- $header := $authors.picture.header -}} {{- $file := not (urls.Parse $header).Host -}} {{- if $file -}} {{- $header = print $author "/" $header -}} {{- end -}} {{- $image := partial "function-caches-images.html" (dict "Context" . "Source" $header "Resize" "x600" "Target" (print (partial "function-paths.html").media "/" $author "/") "Copy" (print (partial "function-paths.html").media "/" $author "/" (path.Base $header)) "AlternateCopy" (print (partial "function-paths.html").media "/" $author "/" (path.BaseName $header) ".webp") ) -}} {{- with $srcset := $image.AltRelPermalink -}} {{- end -}} {{ $author }} {{- /* This comment removes trailing newlines and white spaces. */ -}}