{{if hasFavicon .Config.Wiki.RootDir "ico"}}{{end}} {{if hasFavicon .Config.Wiki.RootDir "svg"}}{{end}} {{if hasFavicon .Config.Wiki.RootDir "png"}}{{end}} {{template "login-dialog" .}} {{template "new-document-dialog" .}} {{template "move-document-dialog" .}} {{template "confirmation-dialog" .}} {{template "message-dialog" .}} {{template "user-confirmation-dialog" .}} {{template "file-upload-dialog" .}} {{template "version-history-dialog" .}} {{template "settings-dialog" .}} {{template "sidebar" .}}
{{if .Content}}
{{template "content" .}}

{{t "attachments.title"}}

{{t "attachments.loading"}}
{{end}} {{if .DirContent}}
{{if not .Content}}

{{.CurrentDir.Title}}

{{end}} {{.DirContent}}
{{else if not .Content}}
{{t "directory.empty"}}
{{end}} {{if not .Config.Wiki.DisableComments}} {{template "comments" .}} {{end}}
{{t "search.results_title"}}
{{if not .Config.Wiki.DisableComments}} {{end}}