From 1cfb9e4033559621e40951fdc3e9dbac8eb90ddb Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Wed, 1 Jun 2022 20:49:19 -0500 Subject: [PATCH] Fix mailto on crash page --- src/templates/src/error.html | 2 +- src/templates/types.go | 18 +++++++++--------- src/website/base_data.go | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/templates/src/error.html b/src/templates/src/error.html index 27ba47cd..899855de 100644 --- a/src/templates/src/error.html +++ b/src/templates/src/error.html @@ -9,7 +9,7 @@ We have encountered an error while processing your request.
- If this keeps happening, please let us know. + If this keeps happening, please let us know.

diff --git a/src/templates/types.go b/src/templates/types.go index 6077b49c..5b766d2f 100644 --- a/src/templates/types.go +++ b/src/templates/types.go @@ -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 diff --git a/src/website/base_data.go b/src/website/base_data.go index 7e70e8fa..377e8773 100644 --- a/src/website/base_data.go +++ b/src/website/base_data.go @@ -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),