diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 38e29d718..091b9a7e7 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -12,11 +12,9 @@
{{template "base/footer_content" .}}
-{{if .PageIsHome}}
-{{else}}
-{{end}}
+
{{if .RequireSimpleMDE}}
@@ -47,7 +45,9 @@
{{template "custom/footer" .}}
{{if .PageIsHome}}
-
+
+
+
-
+
{{template "base/footer" .}}