diff options
Diffstat (limited to 'modules/middleware/render.go')
-rw-r--r-- | modules/middleware/render.go | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/modules/middleware/render.go b/modules/middleware/render.go index 662899883f..b5a0d697ae 100644 --- a/modules/middleware/render.go +++ b/modules/middleware/render.go @@ -38,26 +38,18 @@ var helperFuncs = template.FuncMap{ } type Delims struct { - Left string - + Left string Right string } type RenderOptions struct { - Directory string - - Layout string - - Extensions []string - - Funcs []template.FuncMap - - Delims Delims - - Charset string - - IndentJSON bool - + Directory string + Layout string + Extensions []string + Funcs []template.FuncMap + Delims Delims + Charset string + IndentJSON bool HTMLContentType string } |