From b00b06e3782ce5fdfb24392f3c3251e9d72e6e37 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 27 Sep 2016 15:58:15 +0200 Subject: [PATCH 1/2] Use PrevInSection and NextInSection for footer navigation. --- layouts/partials/footer.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c001754..7024716 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,9 +1,9 @@ {{ if .IsPage }} -{{ if .Prev | or .Next }} +{{ if .PrevInSection | or .NextInSection }} {{ end }} {{ end }} - -{{ if .IsHome }} -{{ if gt (len .Site.Pages) 2 }} - -{{ end }} -{{ end }}