{{define "title"}}{{.User.Username}}{{end}} {{define "content"}}
{{if .User.ProfilePhoto.ID}} {{else}} {{end}} {{if eq .CurrentUser.ID .User.ID}} {{end}}

{{if .User.Name}} {{.User.Name}} {{else}} {{.User.Username}} {{end}}

Member since: {{SincePrettyCoarse .User.CreatedAt}} ago
Last logged in: {{SincePrettyCoarse .User.LastLoginAt}} ago
{{if .User.Certified}}
Certified!
{{else}}
Not certified!
{{end}} {{if .User.IsAdmin}}
Admin
{{end}}

{{or (ToMarkdown (.User.GetProfileField "about_me")) "n/a"}}
{{or (ToMarkdown (.User.GetProfileField "interests")) "n/a"}}
{{or (ToMarkdown (.User.GetProfileField "music_movies")) "n/a"}}

About {{.User.Username}}

Age: {{if not .User.Birthdate.IsZero}} {{ComputeAge .User.Birthdate}} {{else}} n/a {{end}}
Gender: {{or (.User.GetProfileField "gender") "n/a"}} {{.User.GetProfileField "pronouns"}}
City: {{or (.User.GetProfileField "city") "n/a"}}
Job: {{or (.User.GetProfileField "job") "n/a"}}
Marital status: {{or (.User.GetProfileField "marital_status") "n/a"}} {{if .User.GetProfileField "relationship_type"}}({{.User.GetProfileField "relationship_type"}}){{end}}
Orientation: {{or (.User.GetProfileField "orientation") "n/a"}}
Here for: {{range Split (.User.GetProfileField "here_for") ","}}
{{.}}
{{end}}
{{end}}