{{template "repo/header" .}}
{{template "base/alert" .}}
{{.locale.Tr "repo.wiki.new_page"}} {{if .PageIsWikiEdit}} {{.locale.Tr "repo.wiki.new_page_button"}} {{end}}
{{.CsrfTokenHtml}}
{{.locale.Tr "repo.wiki.page_name_desc"}}
{{$content := .content}} {{if not .PageIsWikiEdit}} {{$content = .locale.Tr "repo.wiki.welcome"}} {{end}} {{template "shared/combomarkdowneditor" (dict "locale" $.locale "MarkdownPreviewUrl" (print .Repository.Link "/markup") "MarkdownPreviewContext" .RepoLink "TextareaName" "content" "TextareaPlaceholder" (.locale.Tr "repo.wiki.page_content") "TextareaAriaLabel" (.locale.Tr "repo.wiki.page_content") "TextareaContent" $content )}}