{{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}} {{.NavChatStatistics.UserCount}} {{end}} {{end}} {{if gt .NavFriendRequests 0}} {{.NavFriendRequests}} {{end}} {{if gt .NavUnreadMessages 0}} {{.NavUnreadMessages}} {{end}} {{if gt .NavUnreadNotifications 0}} {{.NavUnreadNotifications}} {{end}} {{if gt .NavAdminNotifications 0}} {{.NavAdminNotifications}} {{end}}
{{end}}
{{if .Flashes}}
{{range .Flashes}}
{{.}}
{{end}}
{{end}} {{if .Errors}}
{{range .Errors}}
{{.}}
{{end}}
{{end}} {{template "content" .}}
© {{.YYYY}} {{.Title}}
{{if .LoggedIn}} {{else}} {{end}}
{{template "scripts" .}} {{end}}