internal/frontend: remove unused messageTemplate
fetch.tmpl doesn't have a `{template "message"}` in it, so
`errorPage.messageTemplate` is not used and can be omitted.
Trust: Jonathan Amsterdam
Run-TryBot: Jonathan Amsterdam
@@ -418,11 +418,6 @@ func pathNotFoundErrorNew(fullPath, requestedVersion string) error {
status: http.StatusNotFound,
epage: &errorPage{
templateName: "fetch.tmpl",
- messageTemplate: template.MakeTrustedTemplate(`
- <h3 class="NotFound-message">Oops! {{.}} does not exist.</h3>
- <p class="NotFound-message js-notFoundMessage">
- Check that you entered it correctly, or request to fetch it.
- </p>`),
MessageData: path,
},
}
