diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html
index c18fea81ba..eeec49ed5e 100644
--- a/templates/zerver/app/index.html
+++ b/templates/zerver/app/index.html
@@ -177,7 +177,10 @@
{% include "zerver/app/invite_user.html" %}
- {% include "zerver/app/logout.html" %}
+
+
+
{% include "zerver/app/deprecation_notice.html" %}
{% include "zerver/app/about-zulip.html" %}
diff --git a/templates/zerver/app/logout.html b/templates/zerver/app/logout.html
deleted file mode 100644
index 2490f22975..0000000000
--- a/templates/zerver/app/logout.html
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
diff --git a/templates/zerver/portico-header-dropdown.html b/templates/zerver/portico-header-dropdown.html
index ed9bb9a61a..0010d7be85 100644
--- a/templates/zerver/portico-header-dropdown.html
+++ b/templates/zerver/portico-header-dropdown.html
@@ -11,7 +11,10 @@
- {% include 'zerver/app/logout.html' %}
+
+
+
Log out
diff --git a/tools/check-templates b/tools/check-templates
index 40e85ed953..00afba928b 100755
--- a/tools/check-templates
+++ b/tools/check-templates
@@ -62,6 +62,7 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
"top_navbar",
"id_email",
"id_terms",
+ "logout_form",
"send_confirm",
"register",
"footer",