summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 191f651..1efacb3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -30,6 +30,14 @@
{{- end }}
</article>
- </div>
+ {{ if .Page.Params.hasnavsection }}
+ {{ with .NextInSection }}
+ &larr; <a href="{{ .RelPermalink }}">{{ or .Page.Params.shortname .Page.Name }}</a>
+ {{ end }}
+ <br>
+ {{ with .PrevInSection }}
+ <a href="{{ .RelPermalink }}">{{ or .Page.Params.shortname .Page.Name }}</a> &rarr;
+ {{ end }}
+ {{ end }}
{{ end }}