{{define "title"}}Untitled{{end}} {{define "base"}} {{template "title" .}} - {{ .Title }} {{if gt .NavTotalNotifications 0}}
{{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}}
{{end}}