diff --git a/templates/index.html b/templates/index.html
index 2999bb3..fd723d9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -78,11 +78,10 @@
{% endif %}
+ {{ index_macros::footer() }}
{% endblock content %}
- {{ index_macros::footer() }}
-
{% if config.build_search_index %}