Maybe I’m overlooking something really obvious here, however I’m after some help / examples on how I can use nextSibling, prevSibling etc.
If I attempt to use any of the above methods, like:
I get a Twig_Error_Runtime thrown up. Any examples or help how I should be using these would be greatly appreciated.
Basically, I’m trying to implement a previous/next article navigation control at the page level.
I think what you want is more like the navigation we have in the http://learn.getgrav.org site? these previous and next buttons on each page?
If so you can look at that example directly on github: