aboutsummaryrefslogtreecommitdiff
path: root/internal/template
diff options
context:
space:
mode:
Diffstat (limited to 'internal/template')
-rw-r--r--internal/template/template.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/template/template.go b/internal/template/template.go
index 21c2c549..1023d7b3 100644
--- a/internal/template/template.go
+++ b/internal/template/template.go
@@ -58,10 +58,10 @@ func FuncMap() []template.FuncMap {
return conf.Server.Domain
},
"DisableGravatar": func() bool {
- return conf.DisableGravatar
+ return conf.Picture.DisableGravatar
},
"ShowFooterTemplateLoadTime": func() bool {
- return conf.ShowFooterTemplateLoadTime
+ return conf.Other.ShowFooterTemplateLoadTime
},
"LoadTimes": func(startTime time.Time) string {
return fmt.Sprint(time.Since(startTime).Nanoseconds()/1e6) + "ms"