{{sprite}} {{$pageBackground := ""}} {{with .ProfileUser}}{{$pageBackground = imageURL .BackgroundURL}}{{end}} {{with .Repo}}{{$pageBackground = imageURL .BackgroundURL}}{{end}}
{{if $pageBackground}} {{end}}
Polar
{{if eq .Lang "en"}} RU {{else}} EN {{end}} {{if .CurrentUser}} {{icon "plus" "size-3.5"}} {{else}} {{t .Lang "nav.login"}} {{end}}
{{if .Flash}}
{{icon "check" "size-4"}} {{.Flash}}
{{end}} {{if .Error}}
{{end}} {{template "content" .}}