diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 76d197f506..8e84557123 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -37,12 +37,12 @@
{{if eq $element.UniqueID $uniqueid }}
{{ if not (isset $.Params "prev") }}
{{ with index $allpages (sub $index 1) }}
-
+
{{ end }}
{{ end }}
{{ if not (isset $.Params "next") }}
{{ with index $allpages (add $index 1) }}
-
+
{{ end }}
{{ end }}
{{ end }}