diff --git a/themes/hugodocs/layouts/partials/head/metadata-prefetch.html b/themes/hugodocs/layouts/partials/head/metadata-prefetch.html
index 3175fa602..37b26410e 100644
--- a/themes/hugodocs/layouts/partials/head/metadata-prefetch.html
+++ b/themes/hugodocs/layouts/partials/head/metadata-prefetch.html
@@ -8,12 +8,10 @@
{{ end }}
{{ if .IsPage }}
{{with .NextInSection }}
-
{{ end }}
{{with .PrevInSection }}
-
{{ end }}