{{define "title"}}Untitled{{end}} {{define "content"}}{{end}} {{define "scripts"}}{{end}} {{define "base"}} {{template "title" .}} - {{ .Title }} {{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}}
{{template "scripts" .}} {{template "like-modal"}} {{template "right-click-modal"}} {{end}}