hmn/src/website/staticpages.go

44 lines
1.3 KiB
Go
Raw Normal View History

2021-05-04 14:40:40 +00:00
package website
func Manifesto(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("manifesto.html", getBaseDataAutocrumb(c, "Manifesto"), c.Perf)
2021-05-04 14:40:40 +00:00
return res
}
func About(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("about.html", getBaseDataAutocrumb(c, "About"), c.Perf)
2021-05-04 14:40:40 +00:00
return res
}
func CodeOfConduct(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("code_of_conduct.html", getBaseDataAutocrumb(c, "Code of Conduct"), c.Perf)
2021-05-04 14:40:40 +00:00
return res
}
2021-05-04 15:14:30 +00:00
2021-05-04 14:40:40 +00:00
func CommunicationGuidelines(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("communication_guidelines.html", getBaseDataAutocrumb(c, "Communication Guidelines"), c.Perf)
2021-05-04 14:40:40 +00:00
return res
}
2021-05-04 15:14:30 +00:00
2021-05-04 14:40:40 +00:00
func ContactPage(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("contact.html", getBaseDataAutocrumb(c, "Contact Us"), c.Perf)
2021-05-04 14:40:40 +00:00
return res
}
2021-05-04 15:14:30 +00:00
func MonthlyUpdatePolicy(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("monthly_update_policy.html", getBaseDataAutocrumb(c, "Monthly Update Policy"), c.Perf)
2021-05-04 15:14:30 +00:00
return res
}
func ProjectSubmissionGuidelines(c *RequestContext) ResponseData {
var res ResponseData
2021-09-01 18:25:09 +00:00
res.MustWriteTemplate("project_submission_guidelines.html", getBaseDataAutocrumb(c, "Project Submission Guidelines"), c.Perf)
2021-05-04 15:14:30 +00:00
return res
}