Fix mailto on crash page
This commit is contained in:
parent
13f5b2ee63
commit
1cfb9e4033
|
@ -9,7 +9,7 @@
|
||||||
<span class="big">
|
<span class="big">
|
||||||
We have encountered an error while processing your request.
|
We have encountered an error while processing your request.
|
||||||
<br />
|
<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>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,7 @@ type BaseData struct {
|
||||||
BodyClasses []string
|
BodyClasses []string
|
||||||
Breadcrumbs []Breadcrumb
|
Breadcrumbs []Breadcrumb
|
||||||
Notices []Notice
|
Notices []Notice
|
||||||
ReportIssueMailto string
|
ReportIssueEmail string
|
||||||
|
|
||||||
CurrentUrl string
|
CurrentUrl string
|
||||||
CurrentProjectUrl string
|
CurrentProjectUrl string
|
||||||
|
|
|
@ -56,7 +56,7 @@ func getBaseData(c *RequestContext, title string, breadcrumbs []templates.Breadc
|
||||||
Session: templateSession,
|
Session: templateSession,
|
||||||
Notices: notices,
|
Notices: notices,
|
||||||
|
|
||||||
ReportIssueMailto: "team@handmade.network",
|
ReportIssueEmail: "team@handmade.network",
|
||||||
|
|
||||||
OpenGraphItems: buildDefaultOpenGraphItems(&project, c.CurrentProjectLogoUrl, title),
|
OpenGraphItems: buildDefaultOpenGraphItems(&project, c.CurrentProjectLogoUrl, title),
|
||||||
|
|
||||||
|
|
Reference in New Issue