|
@@ -38,17 +38,8 @@ const (
|
|
|
// VerifiedTPL page template
|
|
// VerifiedTPL page template
|
|
|
VerifiedTPL = "pages/verified"
|
|
VerifiedTPL = "pages/verified"
|
|
|
|
|
|
|
|
- // MakersTPL page template
|
|
|
|
|
- MakersTPL = "pages/makers"
|
|
|
|
|
-
|
|
|
|
|
// HelpTPL page template
|
|
// HelpTPL page template
|
|
|
HelpTPL = "pages/help"
|
|
HelpTPL = "pages/help"
|
|
|
-
|
|
|
|
|
- // SponsorshipTPL page template
|
|
|
|
|
- SponsorshipTPL = "pages/sponsorship"
|
|
|
|
|
-
|
|
|
|
|
- // SponsorsTPL page template
|
|
|
|
|
- SponsorsTPL = "pages/sponsors"
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
// About shows about page
|
|
// About shows about page
|
|
@@ -108,13 +99,6 @@ func Verified(c *context.Context) {
|
|
|
c.HTML(200, VerifiedTPL)
|
|
c.HTML(200, VerifiedTPL)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// Makers shows maker page
|
|
|
|
|
-func Makers(c *context.Context) {
|
|
|
|
|
- c.Data["Title"] = "Makers"
|
|
|
|
|
-
|
|
|
|
|
- c.HTML(200, MakersTPL)
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
// Help shows help page
|
|
// Help shows help page
|
|
|
func Help(c *context.Context) {
|
|
func Help(c *context.Context) {
|
|
|
c.Data["Title"] = "Help"
|
|
c.Data["Title"] = "Help"
|
|
@@ -129,17 +113,3 @@ func Contact(c *context.Context) {
|
|
|
|
|
|
|
|
c.HTML(200, ContactTPL)
|
|
c.HTML(200, ContactTPL)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-// Sponsorship shows sponsorship page
|
|
|
|
|
-func Sponsorship(c *context.Context) {
|
|
|
|
|
- c.Data["Title"] = "Sponsorship"
|
|
|
|
|
-
|
|
|
|
|
- c.HTML(200, SponsorshipTPL)
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-// Sponsors shows sponsorship page
|
|
|
|
|
-func Sponsors(c *context.Context) {
|
|
|
|
|
- c.Data["Title"] = "Sponsorship"
|
|
|
|
|
-
|
|
|
|
|
- c.HTML(200, SponsorsTPL)
|
|
|
|
|
-}
|
|
|