@alexandros
This doesn’t work as it displays a link to the next post under the section, which in the documentation is defined as the top level folder directly under content:
.
└── content
├── post
| ├── firstpost.md // <- http://1.com/post/firstpost/
| ├── happy
| | └── ness.md // <- http://1.com/post/happy/ness/
| └── secondpost.md // <- http://1.com/post/secondpost/
└── quote
├── first.md // <- http://1.com/quote/first/
└── second.md // <- http://1.com/quote/second/
In this case, post and quote are both sections.
However, my content tree looks like this:
.
└── content
├── blog
| ├── firstpost.md // <- http://1.com/post/firstpost/
| ├── happy
| | └── ness.md // <- http://1.com/post/happy/ness/
| | └── stuff.md // <- http://1.com/post/happy/stuff/
| └── secondpost.md // <- http://1.com/post/secondpost/
And I only want the links to show up on ness and stuff pages, and they only have links to posts under “happy” but that is considered the “slug” and not a Section. So basically you need a .NextInSubSection, or .NextInSlug variable.