func About(c web.C, w http.ResponseWriter, r *http.Request) { ctx := template.NewContext() ctx.Add("AboutPage", true) template.Render(c, w, r, append(templates, "about.html"), ctx) }
func NotFound(c web.C, w http.ResponseWriter, r *http.Request) { template.Render(c, w, r, append(templates, "404.html"), template.NewContext()) }
func Home(c web.C, w http.ResponseWriter, r *http.Request) { ctx := template.NewContext() ctx.Add("HomePage", true) template.Render(c, w, r, append(templates, "home.html"), ctx) }