diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html
index 2ef00d44..1ce50db9 100644
--- a/layouts/partials/single/footer.html
+++ b/layouts/partials/single/footer.html
@@ -62,11 +62,24 @@
- {{- if .PrevInSection -}}
-
{{ .PrevInSection.Title | emojify }}
+ {{- $prevPage := false -}}
+ {{- $nextPage := false -}}
+ {{- if or (.Params.prev) (.Params.next) -}}
+ {{- with .Params.prev -}}
+ {{- $prevPage = $.Site.GetPage . -}}
+ {{- end -}}
+ {{- with .Params.next -}}
+ {{- $nextPage = $.Site.GetPage . -}}
+ {{- end -}}
+ {{- else -}}
+ {{- $prevPage = .PrevInSection -}}
+ {{- $nextPage = .NextInSection -}}
{{- end -}}
- {{ if .NextInSection }}
-
{{ .NextInSection.Title | emojify }}
+ {{- with $prevPage -}}
+
{{ .Title | emojify }}
+ {{- end -}}
+ {{ with $nextPage }}
+
{{ .Title | emojify }}
{{- end -}}