From 67b3b10bb0eaa3a5ea25dfa009a03463921b9f34 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Mon, 8 Jul 2019 22:17:50 -0500 Subject: [PATCH] added prev/next nav --- themes/nederburg/layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/nederburg/layouts/_default/single.html b/themes/nederburg/layouts/_default/single.html index 26755e2a..519ec325 100644 --- a/themes/nederburg/layouts/_default/single.html +++ b/themes/nederburg/layouts/_default/single.html @@ -98,6 +98,8 @@ Other posts in this series:

{{end}} +{{if .NextInSection}}

Next: {{.NextInSection.Title}}

{{end}} +{{if .PrevInSection}}

Previous: {{.PrevInSection.Title}}

{{end}} {{ if and (isset .Site.Params "author") .Site.Params.author }}