diff --git a/doc/custom_theme/main.html b/doc/custom_theme/main.html
index 69b398f6..cc2a703e 100644
--- a/doc/custom_theme/main.html
+++ b/doc/custom_theme/main.html
@@ -20,6 +20,4 @@
{% if page and page.is_homepage %}{% endif %}
{% if config.site_author %}{% endif %}
-{% if config.site_favicon %}
-{% else %}{% endif %}
{%- endblock %}