Fix mailto on crash page
This commit is contained in:
parent
13f5b2ee63
commit
1cfb9e4033
|
@ -9,7 +9,7 @@
|
|||
<span class="big">
|
||||
We have encountered an error while processing your request.
|
||||
<br />
|
||||
If this keeps happening, please <a href="{{ .ReportIssueMailto }}">let us know</a>.
|
||||
If this keeps happening, please <a href="mailto:{{ .ReportIssueEmail }}">let us know</a>.
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -6,15 +6,15 @@ import (
|
|||
)
|
||||
|
||||
type BaseData struct {
|
||||
Title string
|
||||
CanonicalLink string
|
||||
OpenGraphItems []OpenGraphItem
|
||||
BackgroundImage BackgroundImage
|
||||
Theme string
|
||||
BodyClasses []string
|
||||
Breadcrumbs []Breadcrumb
|
||||
Notices []Notice
|
||||
ReportIssueMailto string
|
||||
Title string
|
||||
CanonicalLink string
|
||||
OpenGraphItems []OpenGraphItem
|
||||
BackgroundImage BackgroundImage
|
||||
Theme string
|
||||
BodyClasses []string
|
||||
Breadcrumbs []Breadcrumb
|
||||
Notices []Notice
|
||||
ReportIssueEmail string
|
||||
|
||||
CurrentUrl string
|
||||
CurrentProjectUrl string
|
||||
|
|
|
@ -56,7 +56,7 @@ func getBaseData(c *RequestContext, title string, breadcrumbs []templates.Breadc
|
|||
Session: templateSession,
|
||||
Notices: notices,
|
||||
|
||||
ReportIssueMailto: "team@handmade.network",
|
||||
ReportIssueEmail: "team@handmade.network",
|
||||
|
||||
OpenGraphItems: buildDefaultOpenGraphItems(&project, c.CurrentProjectLogoUrl, title),
|
||||
|
||||
|
|
Loading…
Reference in New Issue