diff options
author | mms <michal@sapka.me> | 2024-03-17 21:38:03 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-03-17 21:38:03 +0100 |
commit | b42de7befc83fc17313ee5402c6568fa7825dce0 (patch) | |
tree | 6c45b7848770aeaceed0ce2946e7373460f5cb8e /layouts/_default | |
parent | 95256da06753b072d3fb5e700efcba5c7cc12aa7 (diff) |
feat: stv bliss
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 }} |