From ee9ae352a89ece56f8b19a5b42e26cd18e96542a Mon Sep 17 00:00:00 2001 From: Alicia Date: Sun, 24 Feb 2019 16:05:00 +0000 Subject: [PATCH] briuh 1 --- main.go | 4 ---- templates/help.html | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 templates/help.html diff --git a/main.go b/main.go index 4b10cc3..934cb65 100644 --- a/main.go +++ b/main.go @@ -331,10 +331,6 @@ func generateEngine() *gin.Engine { r.Any("/blog/*url", blogRedirect) - r.GET("/help", func(c *gin.Context) { - c.Redirect(301, "https://support.ripple.moe") - }) - loadSimplePages(r) r.NoRoute(notFound) diff --git a/templates/help.html b/templates/help.html new file mode 100644 index 0000000..34716f5 --- /dev/null +++ b/templates/help.html @@ -0,0 +1,25 @@ +{{/*### + Handler=/help + TitleBar=Contact support + KyutGrill=help.jpg + */}} + {{ define "tpl" }} +
+
+
+

+ {{ .T "If you need to get in touch with our support team (our Community Managers), you will need to either send an email to our support email address, or join our Discord Server. You can compose an email to it by clicking the button at the bottom of this page." | html }} +

+

+ {{ .T "When contacting the support mail, please make sure to send the email from the email address you signed up on Akatsuki with." | html }} +

+
+ +
+
+ {{ end }} \ No newline at end of file