revert change to page.go

This commit is contained in:
Eoin McAfee 2021-06-01 14:17:32 +01:00
parent cb75a7383b
commit 1ebf5b7d43

View file

@ -87,7 +87,7 @@ func setupCache(h http.Handler) http.Handler {
// string(dist.MustLookup("/index.html")), // string(dist.MustLookup("/index.html")),
// ) // )
// // default func map with json parsers. // // default func map with json parser.
// var funcMap = template.FuncMap{ // var funcMap = template.FuncMap{
// "json": func(v interface{}) template.JS { // "json": func(v interface{}) template.JS {
// a, _ := json.Marshal(v) // a, _ := json.Marshal(v)