{{- $metadata := print "public/" .Data.user "/author.json" -}} {{- $date := .Date.Local.Format "3:04 PM Jan 2 2006" -}} {{- $host := (urls.Parse ("" | absURL)).Host -}} {{- if not $host -}} {{- $host = "localhost" -}} {{- end -}} {{- $alternate := .Data.name -}} {{- $width := "" -}} {{- $height := "" -}} {{- $source := "" -}} {{- $sourceset := "" -}} {{- $source = print "/" (partial "function-paths.html" "media") "/" .Data.user "/" .Data.user "-profile" (path.Ext .Data.picture.profile) -}} {{- $sourceset = print "/" (partial "function-paths.html" "media") "/" .Data.user "/" .Data.user "-profile.webp" -}} {{- with $metadata := resources.Get $metadata -}} {{- $metadata = $metadata.Content | transform.Unmarshal -}} {{- $width = $metadata.picture.profileWidth -}} {{- $height = $metadata.picture.profileHeight -}} {{- end -}} {{- if or (not (path.Ext .Data.picture.profile)) (not (fileExists (print "public/" (partial "function-paths.html" "media") "/" .Data.user))) -}} {{- $source = "/data/media/404.png" -}} {{- $sourceset = "" -}} {{- end -}} {{- if not .Date -}} {{- $date = "Inactive" -}} {{- end -}}
{{- with $sourceset -}} {{- end -}} {{ $alternate }}

{{ .Data.name }}

{{ .Data.user }}@{{ $host }}

{{ .Data.description | markdownify | plainify | htmlUnescape | truncate 60 "..." }}

{{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/rss.svg")) }} Follow