{{if .IsRepo}}{{template "repo/header" .}}{{end}}
-
+
{{if .NotFoundPrompt}}{{.NotFoundPrompt}}{{else}}{{ctx.Locale.Tr "error404" | Safe}}{{end}}
{{if .NotFoundGoBackURL}}{{ctx.Locale.Tr "go_back"}}{{end}}diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 74bb8762b..695dd78c8 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,8 +1,8 @@ {{template "base/head" .}} -
{{if .NotFoundPrompt}}{{.NotFoundPrompt}}{{else}}{{ctx.Locale.Tr "error404" | Safe}}{{end}}
{{if .NotFoundGoBackURL}}{{ctx.Locale.Tr "go_back"}}{{end}}