{{define "title"}}Untitled{{end}} {{define "content"}}{{end}} {{define "scripts"}}{{end}} {{define "head-scripts"}}{{end}} {{define "base"}} {{if eq .WebsiteTheme "light"}} {{else if eq .WebsiteTheme "dark"}} {{else}} {{end}} {{template "title" .}} - {{ .Title }} {{template "head-scripts" .}} {{if .LoggedIn}}
{{if .CurrentUser.Certified}} {{if gt .NavChatStatistics.UserCount 0}} {{FormatNumberShort .NavChatStatistics.UserCount}} {{end}} {{end}} {{if gt .NavFriendRequests 0}} {{FormatNumberShort .NavFriendRequests}} {{end}} {{if gt .NavUnreadMessages 0}} {{FormatNumberShort .NavUnreadMessages}} {{end}} {{if gt .NavUnreadNotifications 0}} {{FormatNumberShort .NavUnreadNotifications}} {{end}} {{if gt .NavAdminNotifications 0}} {{if and (.NavCertificationPhotos) (not .NavAdminFeedback)}} {{FormatNumberShort .NavAdminNotifications}} {{else if and .NavCertificationPhotos .NavAdminFeedback}} {{FormatNumberShort .NavAdminNotifications}} {{else}} {{FormatNumberShort .NavAdminNotifications}} {{end}} {{end}}
{{end}}
{{if .Flashes}}
{{range .Flashes}}
{{.}}
{{end}}
{{end}} {{if .Errors}}
{{range .Errors}}
{{.}}
{{end}}
{{end}} {{template "content" .}}
© {{.YYYY}} {{.Title}}
{{if .LoggedIn}} {{else}} {{end}}
{{RunTime .Request}}
{{if not .SessionImpersonated -}} {{- /* Disable web push script if impersonated, so an admin doesn't subscribe to user's notifications */ -}} {{- end}} {{template "scripts" .}} {{template "like-modal"}} {{template "right-click-modal" .}}
Loading...
{{end}}