diff --git a/CHANGES b/CHANGES
index 71d83a7de..6a8d5b501 100644
--- a/CHANGES
+++ b/CHANGES
@@ -20,6 +20,7 @@ Bugs fixed
* #2988: linkcheck: retry with GET request if denied HEAD request
* #2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" error
if linkcheck_anchors enabled
+* #3004: Invalid link types "top" and "up" are used
Documentation
diff --git a/sphinx/themes/basic/layout.html b/sphinx/themes/basic/layout.html
index 1e5d39e0a..2d37d7134 100644
--- a/sphinx/themes/basic/layout.html
+++ b/sphinx/themes/basic/layout.html
@@ -140,10 +140,6 @@
{%- if hasdoc('copyright') %}
{%- endif %}
-
- {%- if parents %}
-
- {%- endif %}
{%- if next %}
{%- endif %}