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