{{template "base/head" .}}
{{template "repo/header" .}} {{$title := .title}}
{{ctx.Locale.Tr "repo.wiki.page"}}: {{$title}} {{svg "octicon-triangle-down" 14 "dropdown icon"}}
{{template "repo/clone_buttons" .}} {{template "repo/clone_script" .}}
{{svg "octicon-search"}}
{{if .CommitCount}}{{.CommitCount}} {{end}}{{svg "octicon-history"}} {{$title}}
{{$timeSince := DateUtils.TimeSince .Author.When}} {{ctx.Locale.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince}}
{{if .EscapeStatus.Escaped}} {{ctx.Locale.Tr "repo.unescape_control_characters"}} {{ctx.Locale.Tr "repo.escape_control_characters"}} {{end}} {{if and .CanWriteWiki (not .Repository.IsMirror)}} {{ctx.Locale.Tr "repo.wiki.edit_page_button"}} {{ctx.Locale.Tr "repo.wiki.new_page_button"}} {{ctx.Locale.Tr "repo.wiki.delete_page_button"}} {{end}}
{{if .FormatWarning}}

{{.FormatWarning}}

{{end}}
{{if .sidebarTocContent}}
{{.sidebarTocContent | TrustHTML}}
{{end}}
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}} {{.content | TrustHTML}}
{{if .sidebarPresent}}
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .sidebarEscapeStatus "root" $}} {{if and .CanWriteWiki (not .Repository.IsMirror)}} {{svg "octicon-pencil"}} {{end}} {{.sidebarContent | TrustHTML}}
{{end}}
{{if .footerPresent}}
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .sidebarEscapeStatus "root" $}} {{if and .CanWriteWiki (not .Repository.IsMirror)}} {{svg "octicon-pencil"}} {{end}} {{.footerContent | TrustHTML}}
{{end}}
{{svg "octicon-trash"}} {{ctx.Locale.Tr "repo.wiki.delete_page_button"}}

{{ctx.Locale.Tr "repo.wiki.delete_page_notice_1" $title}}

{{template "base/modal_actions_confirm" .}}
{{template "base/footer" .}}