{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
{{/* Just display author name as title if user profile unavailable. */}}
{{ if not ($.Site.GetPage (printf "/author/%s" (urlize .Title))) }}
{{ .Title }}
{{ end }}
{{/* Only show About widget if a profile has been configured for this user. */}}
{{ $widget := "widgets/about.html" }}
{{ $params := dict "root" $ "page" . "author" .Title }}
{{ with $.Site.GetPage (printf "/author/%s" (urlize .Title)) }}
{{ partial $widget $params }}
{{ end }}