diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 2c75ee3897..eedba9d357 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -47,8 +47,8 @@
{{ end }}
{{ end }}
{{ end }}
- {{ with .Params.prev }} {{ end }}
- {{ with .Params.next }}{{ end }}
+ {{ with .Params.prev }} {{ end }}
+ {{ with .Params.next }}{{ end }}