summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-03-17 21:38:03 +0100
committermms <michal@sapka.me>2024-03-17 21:38:03 +0100
commitb42de7befc83fc17313ee5402c6568fa7825dce0 (patch)
tree6c45b7848770aeaceed0ce2946e7373460f5cb8e /layouts/_default
parent95256da06753b072d3fb5e700efcba5c7cc12aa7 (diff)
feat: stv bliss
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 }}