diff --git a/pages/about.go b/pages/about.go index ab3ee48..5590dc5 100644 --- a/pages/about.go +++ b/pages/about.go @@ -22,7 +22,7 @@ type PrivacyInfo struct { UserAgent string } -func HandlePrivacy(c *fiber.Ctx) error { +func HandleAbout(c *fiber.Ctx) error { var privacyInfoArray []PrivacyInfo privacyInfoArray = append(privacyInfoArray, PrivacyInfo{ IPAddr: os.Getenv("GOTHUB_IP_LOGGED"), @@ -38,8 +38,8 @@ func HandlePrivacy(c *fiber.Ctx) error { GoVersion: runtime.Version(), }) - return c.Render("privacy", fiber.Map{ - "title": "Instance Privacy", + return c.Render("about", fiber.Map{ + "title": "About this instance", "privacyInformation": privacyInfoArray, }) } diff --git a/views/about.go b/views/about.html similarity index 100% rename from views/about.go rename to views/about.html