diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index 52e7c7e77..f5ec6b0bf 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -10,7 +10,7 @@
{{AppVer}}
{{end}}
{{end}}
- {{if ShowFooterTemplateLoadTime}}
+ {{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
{{.i18n.Tr "page"}}: {{LoadTimes .PageStartTime}}
{{.i18n.Tr "template"}}
{{if .TemplateName}} {{.TemplateName}}{{end}}: {{call .TemplateLoadTimes}}