diff --git a/crates/mdbook-html/front-end/templates/index.hbs b/crates/mdbook-html/front-end/templates/index.hbs
index d6b53a9d..b1834189 100644
--- a/crates/mdbook-html/front-end/templates/index.hbs
+++ b/crates/mdbook-html/front-end/templates/index.hbs
@@ -227,6 +227,7 @@
{{else}}
{{fa "solid" "angle-left"}}
{{/if}}
+
{{/if}}
{{#if next}}