Change value of Prev and Next boxes #1267
Replies: 2 comments 2 replies
-
Hello Teresa! You could "automate" this in a template. Copy For example make lines 18 and 31 something like: <a href="{{ .RelPermalink }}" class="stretched-link text-reset text-decoration-none">{{ path.Base .File.Dir | humanize }} - {{ .Title }}</a> Result: |
Beta Was this translation helpful? Give feedback.
-
Hey @h-enk ! Thanks so much for the quick reply, that works great! But what if I actually had the "supertitle" next to the "title" in the md? How could I use that instead? Thanks again, I really appreciate it ❤️ |
Beta Was this translation helpful? Give feedback.
-
Hey everyone!
So there are the Prev and Next buttons at the end of each page that tell you the name of the next page. However, it is inside a certain Section. In the case of the print I send in attachment, the Next button points me to something called
"Basic Commands"
but I would like it to be
"Kubernetes - Basic Commands" or something similar
Could I maybe just add a parameter called "supertitle:" or something in the .md for that "Basic Commands" file so that this Next has a different value? How would I change the template then?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions