diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 10 |
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 }} + ← <a href="{{ .RelPermalink }}">{{ or .Page.Params.shortname .Page.Name }}</a> + {{ end }} + <br> + {{ with .PrevInSection }} + <a href="{{ .RelPermalink }}">{{ or .Page.Params.shortname .Page.Name }}</a> → + {{ end }} + {{ end }} {{ end }} |