diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html
index 961638d8c..e6a4fc8cf 100644
--- a/docs/layouts/partials/footer.html
+++ b/docs/layouts/partials/footer.html
@@ -3,11 +3,13 @@
+ {{ if .IsPage }}
{{ with .GetParam "next" }}
{{ end }}
+ {{ end }}
diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html
index f6fc360ca..f47ba2b18 100644
--- a/docs/layouts/partials/header.html
+++ b/docs/layouts/partials/header.html
@@ -48,7 +48,7 @@
-{{ template "partials/menu.html" . }}
+{{ partial "menu.html" . }}
@@ -68,11 +68,13 @@
+ {{ if .IsPage }}
{{ with .GetParam "prev" }}
{{ end }}
+ {{ end }}
diff --git a/docs/layouts/partials/menu.html b/docs/layouts/partials/menu.html
index cac8233d0..8e5e4004d 100644
--- a/docs/layouts/partials/menu.html
+++ b/docs/layouts/partials/menu.html
@@ -30,7 +30,9 @@
{{end}}
Issues & Help
- {{ $File := .File }} {{with .File.FileName }} Refine this Page {{end}}
+ {{ if .IsPage }}
+ {{ $File := .File }} {{with $File.FileName }} Refine this Page {{end}}
+ {{ end }}